Author: Tyler Petresky
Description: The purpose of this project is to provide an extremely easy to use, yet versatile interface for managing simple to-do lists within your terminal. As long as this file in your PATH
, you can execute an array of commands to easily manage multiple lists to keep track of what you need to get done.
Create a List
init <list>
: Initialize a new list with a given identifieri
: Alias forinit
Delete a List or Delete a Task
remove <list>
: Delete an entire todo listremove <list> <item #>
: Remove a single task from a given todo listrm
: Alias forremove
Add a Task to a List
add <list> "<task to add>"
: Add a single task to a given todo listadd "<task to add>"
: Add a single task to the currently active todo list (seeactivate
anddeactivate
)a
: Alias foradd
Show all Lists/Items
list
: List all currently initialized listslist <list>
: List all tasks within a given listls
: Alias forlist
Do/Undo Tasks
do <list> <item #>
: Mark a task within a given list as "completed"d
: Alias fordo
undo <list> <item #>
: Mark a task within a given list as "incomplete"u
: Alias forundo
Clear a List
clear <list>
: Clear a list and reinitialize itcls <list>
: Alias forclear
Activate/Deactive List
The concept of an "active" list exists to allow you to skip typing the name of a list when you want to add a lot of tasks to a particular todo list. Rather than typing todo add <list> "<task to add>"
everytime. You can simply activate a list (todo activate <list>
) and then just enter todo add "<task to add>"
, or with the built-in alias, todo a "<task to add>"
. This will add all following insertions to the same list.
activate <list>
: Set a given list as the "active" listdeactivate
: Set the currently "active" list as "inactive"
For Extra Ease of Use
For added ease and quicker typing add these two aliases to your terminal:
alias do="todo add"
alias did="todo do"
This will allow you to type something like the following:
do "Task to do"
: Will add to the active list
do list "Task to do"
: Will add to the list entitled 'list'
did list 2
: Mark item 2 on the list entitled 'list' as completed