Skip to content

michimani/todoist-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

todoist-cli

This is simple command line tool for Todoist.

Feature

  • list projects
  • add a task

Usage

Preparing

  1. 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.

  2. create config.ini file

    $ cp config.ini.sample config.ini
    

    and replace your_todoist_token in config.ini to your Todoist App access token. (test token)

  3. install Python modules

    This tool work on Python 3.x.

    $ python3 -m venv .venv && source ./.venv/bin/activate
    

    Install modules.

    $ pip install -r requirements.txt
    

Use CLI

list projects

$ 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
  • -f is optional parameter for full_sync with value 1

add a task

$ 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_name is required for task name
  • -p or --project_id is optional parameter for project ID

About

This is simple command line tool for Todoist.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages