Skip to content

ToDo List V2

Latest

Choose a tag to compare

@tochi-mba tochi-mba released this 14 Feb 21:52
· 1 commit to master since this release

Allows User to save .tochi files and make groups for the lists, allows merging and cloning of files, allows -getgrp -getgrps

--- Tochi's To-Do List Cheat Sheet ---

  • Add Task:
    Syntax: -add [task_description] [-raw(delimiter)]
    Example 1: -add Buy groceries
    Example 2: -add -raw(;) Buy groceries;2024-02-14;false
    Description:

    • Adds a new task to the to-do list.
    • Optionally, use -raw(delimiter) for advanced task input.
  • Remove Task:
    Syntax: -remove [task_index]
    Example: -remove 1
    Description: Removes the task at the specified index from the to-do list.

  • Get Tasks:
    Syntax: -get [type] [index (optional)]
    Example 1: -get 0
    Example 2: -get 1 2
    Description:

    • -get 0: Get all tasks in the to-do list.
    • -get 1 [index]: Get details of the task at the specified index.
  • Edit Task:
    Syntax: -edit [task_index] [new_task_description]
    Example: -edit 1 Update task description
    Description: Edits the task description at the specified index.

  • Save To-Do List:
    Syntax: -save [group_name] [directory (optional)]
    Example 1: -save mytasks
    Example 2: -save mytasks /path/to/directory
    Description: Saves the current to-do list to a file with the specified group name and directory.

  • Get List of Groups:
    Syntax: -getgrps [directory (optional)]
    Example 1: -getgrps
    Example 2: -getgrps /path/to/directory
    Description: Displays a list of available groups in the specified directory or the default 'groups' directory.

  • Get Current Group:
    Syntax: -getgrp
    Description: Displays the name of the current group, if any. Use '-save group_name' to create a group.

  • Help:
    Syntax: help
    Description: Displays tips and information about available commands.

--- Usage Example ---

  • To add a task: -add Buy groceries
  • To remove a task: -remove 1
  • To get all tasks: -get 0
  • To get a specific task: -get 1 2
  • To edit a task: -edit 1 Update task description
  • To save the to-do list: -save mytasks
  • To get a list of groups: -getgrps
  • To get the current group: -getgrp
  • For help: help