This is simple command line tool for Todoist.
- list projects
- add a task
-
get token
Access to Todoist App Management Console and create a new Todoist App. A test token will be generate with new app, so use it.
-
create
config.inifile$ cp config.ini.sample config.iniand replace
your_todoist_tokeninconfig.inito your Todoist App access token. (test token) -
install Python modules
This tool work on Python
3.x.$ python3 -m venv .venv && source ./.venv/bin/activateInstall modules.
$ pip install -r requirements.txt
$ python src/list-projects.py -h
usage: list-projects.py [-h] [-f FULL_SYNC]
optional arguments:
-h, --help show this help message and exit
-f FULL_SYNC, --full_sync FULL_SYNC
"1" for full sync
-fis optional parameter for full_sync with value1
$ python src/add-task.py -h
usage: add-task.py [-h] [-p PROJECT_ID] task_name
positional arguments:
task_name task name for new task
optional arguments:
-h, --help show this help message and exit
-p PROJECT_ID, --project_id PROJECT_ID
project ID for new task added
task_nameis required for task name-por--project_idis optional parameter for project ID