Skip to content

BenGale93/cli-todo

Repository files navigation

CICD Latest version

cli-todo

Keep a todo list using the cli.

Setup

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.

Usage

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.

Watch command

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)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published