Keep a todo list using the cli.
Clone this repository and cd
into it. Then run cargo install --path .
You'll then need to create a new sqlite database to store your todos.
You can just place it in the current directory using todo init
, or you can
use the -d
flag for more control. For example, todo init -d ~/todo.db
.
This location will be recorded in a config file placed here:
~/.config/todo/default-config.toml
.
The CLI has the usual CRUD commands for managing your todos. Run todo <COMMAND> --help
for more info.
todo add email "Email John about a thing" Mon1700
todo go email # Now in progress
todo go email # Now finished.
The watch command allows you to start a process that watches for overdue items and prints them to the terminal.
Start it using something like:
fish -c "todo watch -d 5mins" &
This will send the process to the background of the current terminal session. It will allow you to keep using that terminal session for other commands. Just note that if todo prints at the same time as something else the output will become interspersed.
Kill it using:
kill $(pgrep todo)