doist 0.1.5

doist is an unofficial command line app for interacting with the Todoist API
Documentation

doist - Todoist CLI Client

An unofficial Todoist API CLI client written in Rust.

About

This is an unofficial Todoist CLI that focuses on being easy to use. It is currently not feature complete, but covers some basic common use-cases and adds more as we go along.

Installation

Currently it's installed only via cargo install from source:

cargo install doist

More options coming eventually.

How to use

Auth

First, set up your API token. Go into your Todoist settings, go to Integrations and copy out the API token. Plug it into the tool:

doist auth MY_TOKEN

Now you're authenticated and can use the other functions of the tool.

List tasks

Listing tasks and then working with them interactively is the recommended way to work with the CLI.

By default the list view shows todays tasks and lets you work with them:

doist list
# Alternatively: `doist l`

This will allow you to type parts of the output until you select the task you want to work with (fuzzy search). Selecting will allow you to select various other subcommands, like closing, changing due dates or even editing tasks.

You can also disable interactive mode to pipe use the output somewhere else:

doist list --nointeractive
# Alternatively: `doist l -n`

By default all interactive commands have a filter applied to show the most relevant tasks. See the documentation to see what inputs are accepted. To then use the filter, add it to the command parameters:

doist list --filter "all"
# Alternatively: `doist l -f all`

Adding tasks

A quick way to add a task is:

doist add "Do the laundry" --due "tomorrow"
# Alternatively: `doist a "Do the laundry" -d tomorrow`

Closing tasks

A quick way to close one of todays tasks is:

doist close
# Alternatively: `doist c

And then fuzzy finding the task you want to close. Submitting the ID directly also works if you're more comfortable with that:

doist close "BIG_ID_FROM_API"
# Alternatively: `doist c BIG_ID_FROM_API

Help

Feel free to browse the help output for more help:

doist help