2025-03-14 21:59:59 -06:00
|
|
|
# todoist
|
|
|
|
|
|
|
|
|
|
> Access <https://todoist.com> from the command-line.
|
2026-02-18 06:55:01 -07:00
|
|
|
> More information: <https://github.com/sachaos/todoist#usage>.
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Add a task:
|
|
|
|
|
|
2026-02-18 06:55:01 -07:00
|
|
|
`todoist {{[a|add]}} "{{task_name}}"`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Add a high priority task with a label, project, and due date:
|
|
|
|
|
|
2026-02-18 06:55:01 -07:00
|
|
|
`todoist {{[a|add]}} "{{task_name}}" --priority {{1}} --label-ids "{{label_id}}" --project-name "{{project_name}}" --date "{{tmr 9am}}"`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Add a high priority task with a label, project, and due date in quick mode:
|
|
|
|
|
|
2026-02-18 06:55:01 -07:00
|
|
|
`todoist {{[q|quick]}} '#{{project_name}} "{{tmr 9am}}" p{{1}} {{task_name}} @{{label_name}}'`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- List all tasks with a header and color:
|
|
|
|
|
|
|
|
|
|
`todoist --header --color list`
|
|
|
|
|
|
|
|
|
|
- List all high priority tasks:
|
|
|
|
|
|
2026-02-18 06:55:01 -07:00
|
|
|
`todoist {{[l|list]}} --filter p{{1}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- List today's tasks with high priority that have the specified label:
|
|
|
|
|
|
2026-02-18 06:55:01 -07:00
|
|
|
`todoist {{[l|list]}} --filter '(@{{label_name}} | {{today}}) & p{{1}}'`
|