A terminal command for creating tasks in Todoist.
This script uses Todoist's Python SDK.
- Install uv
git clone https://github.com/wheelercj/todo.git && cd todo
- Get your Todoist API token here
uv run main.py add "Buy oranges"
I recommend creating a custom terminal command to make running the script easier. You can use uv's --project
option to specify the virtual environment's location. For example, here's the Bash command to create a todo
command:
alias todo="uv run --project $HOME/todo $HOME/todo/main.py"