todo is a library and command line tool for interacting with Asana.
Usage
Command line interface
Install from crates.io:
Or use cargo-binstall for pre-built binaries:
Then run todo --help for usage information.
Updating automatically in the background
If you're using the --use-cache option, we'll pull from the most recent cache (which gets updated when you run todo update or run any other commands). But if you're not actively using the tool, and only using it e.g. at terminal startup to show you how many tasks you have, then you probably want that cache to be up to date all the time. You can easily set up a cronjob to do that.
Open up crontab -e and add the following line:
&&
If caching isn't working, you'll get a warning.
Library
Add to your Cargo.toml:
[]
= "1"
See docs.rs/ziyad-todo for documentation.