Skip to content

rupokghosh/todoist-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Todoist CLI

This is a terminal app that connects your todoist tasks with your terminal.

Made with:

  • Go
  • Libraries:
    • Cobra
    • Resty

How to use and API TOKEN setup

  1. Clone the repository:

    git clone https://github.com/yourusername/todoist-cli.git
    cd todoist-cli
  2. Create a .env file at the root of the project and add your Todoist API token:

    TODOIST_API_TOKEN=your_api_token_here

    To get your token:

  • Go to Settings > Integrations > Developer
  • Then copy your API TOKEN
  1. Install the required dependencies:

    go get
  2. Build the binary app:

    go build -o todoist-cli
  3. Run the binary from the current directory:

    ./todoist-cli list
    ./todoist-cli add "Your task"
    ./todoist-cli done 1
  4. Additionally you can also use it without building a binary by doing:

    go run main.go list
    go run main.go add

Features and Commands

  • List all active tasks
    todoist-cli list
  • Add new tasks.
    todoist-cli add "My new task"
  • Mark tasks as complete.
    todoist-cli done 2 // number of the task in the list

Contributing

Feel free to fork this repository and submit pull requests to improve the functionality or fix bugs.

About

CLI app that connect todoist with the CLI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages