You'll need the Rust toolchain installed. You can install directly from crates.io:
cargo install todoist-tuiOr clone the repo and build it yourself.
git clone git@github.com:drewzemke/todoist-tui.git
cd todoist-tui
cargo install --path .Get your API token from the Todoist web app first, then store it:
todoist-tui set-token <YOUR_API_TOKEN>Sync your data with Todoist's servers:
todoist-tui syncLaunch the TUI by invoking the program with no arguments. (I'll add more details here at some point!)
todoist-tui Add some todos to your inbox:
todoist-tui add "Do a barrel roll!"
todoist-tui add "Use the boost to get through!"List the contents of your inbox:
todoist-tui list
# [1] "Do a barrel roll!"
# [2] "Use the boost to get through!"Mark a todo complete using its number in the list:
todoist-tui complete 2