A terminal command for creating tasks in Todoist.
For example, todo buy oranges
.
This script uses Todoist's Python SDK.
git clone https://github.com/wheelercj/todo.git
pip install -r todo/requirements.txt
- Get your API token here.
- Create a .env file with variable
todoist_api_token
. - Add todo.py to your PATH environment variable.
- Restart your terminal.
todo see if this works
You can also add to the .env file the variable todoist_project_id
if you want to reduce this script's network requests. The script will tell you the project ID if you don't set the variable.
There's also a done
command for if you want to create a new task and immediately mark it as complete. The setup is the same but with done.py instead of todo.py.