Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/leomeloxp/todoist-cli

Small CLI utility for adding tasks to your Todoist inbox.
https://github.com/leomeloxp/todoist-cli

cli javascript todoist todoist-cli

Last synced: 15 days ago
JSON representation

Small CLI utility for adding tasks to your Todoist inbox.

Awesome Lists containing this project

README

        

# todoist-cli

A CLI interface to Todoist built with Javascript

## Setup

Get your Todoist token via:

https://todoist.com/prefs/integrations

Set it to an environment variable:

Mac/Linux:

`export TODOIST_TOKEN=MY_API_TOKEN`

Windows (PowerShell):

`$env:TODOIST_TOKEN = "MY_API_TOKEN"`

Install dependencies:

`yarn install`

## Run

```
todoist-cli
```

## Usage

Add a task "Walk the dog", due on Sunday

```
todoist-cli --due sunday --add "Walk the dog"
```

List all tasks in the "Shopping" project

```
todoist-cli --list --project "Shopping"
```

List all projects

```
todoist-cli --projects
```

## License

[MIT](./LICENSE)

## Credits

* Leonardo Melo
* Clint Heyer