To Do List CLI is a Golang CLI, created using Cobra, to help you organise your daily tasks with following functionalities:
todolist add [task_name]
- add a tasktodolist list
- list all incomplete taskstodolist cleanup
- clear all completed taskstodolist done [task_id]
- mark a task as completetodolist undone [task_id]
- mark a task as in complete
Run the following command in your terminal (inside $GOPATH/src) to install and use the cli:
git clone [email protected]:ABHINAV-SUREKA/toDoList.git
cd toDoList
go get
todolist --help
Output:
To Do List CLI is a tool to organise your daily tasks with add, remove, done and undone functionalities
Usage:
todolist [command]
Available Commands:
add Add task to the list
cleanup Cleanup done tasks
done Mark task as done
help Help about any command
list List all tasks still to do
undone Mark task as not done
Flags:
-h, --help help for todolist
Use "todolist [command] --help" for more information about a command.
In case the above installation doesn't work, run the ./main
executable file as follows:
./main --help
./main add [task_name]
- add a task./main list
- list all incomplete tasks./main cleanup
- clear all completed tasks./main done [task_id]
- mark a task as complete./main undone [task_id]
- mark a task as in complete
OR
Run the $GOPATH/bin/todolist
executable file in manner similar to above