This project is a fork of Taskbook written in Golang, the approach is more minimal only 5 flags (a to e) and no additionnal infos like priority, star, notes, date etc. This simple version is straight to the point you have a board of projects and each one contain tasks with their status, all this data is stored locally in a json file in your home directory (~/.todo.json)
Install Go if you don't have it.
- Clone this repo :
git clone github.com/the01rch/todo
- Go to the directory :
cd todo
- Makefile line(9) -LINUX
@sudo cp todo /bin/
-M
@sudo cp todo /usr/local/bin
- Build and install it with :
sudo make install
Invoking todo without any options will display a board of your projects.
todo
To display the tasks of a specific project you need to specify the name with '@'.
todo @project
To add a new project your need to use the flag '-a' and the name in parenthesis.
todo -a "project_1"
To delete a project you need to use the flag '-d' and the name with '@'.
todo -d @project_1
To edit a project name you need to use the flag '-e', new project name in parenthesis and the old project name with '@'.
todo -e "toto" @gogo
To add a task you need to use the flag '-a' with the task name in parenthesis and the project name.
todo -a "send email" @work
If you want to add all the files in the current directory as a task define the task as "all".
todo -a "all" @work
By default we do not include extensions, add -e
todo -a "all" -e @work
You can also exclude file extensions (.c, .h)
todo -a "all" -ex "c,h" @work
Or folders and extensions
todo -a "all" -ex "c" -d @work
Or all
todo -a "all" -d -e -ex "c" @work
In order to change the status of a particular task you need to specify the action, the ID of the task and the project related.
- flag '-b' for begin
todo -b 0 1 @project
- flag '-c' for check
todo -c 1 2 @project
- flag '-d' for delete
todo -d 0 1 2 @project
To edit a task name is quite like editing a project name but you need to specify the ID of the task after the flag 'e'.
todo -e 0 "test app" @popo