snippetbashTip
todoist — Access <https://todoist.com> from the command-line. More information: <https://github.com/sachaos/to
Viewed 0 times
httpscomcommandfromaccessclitodoist
Problem
How to use the
todoist command: Access <https://todoist.com> from the command-line. More information: <https://github.com/sachaos/todoist#usage>.Solution
todoist — Access <https://todoist.com> from the command-line. More information: <https://github.com/sachaos/todoist#usage>.Add a task:
todoist {{[a|add]}} "{{task_name}}"Add a high priority task with a label, project, and due date:
todoist {{[a|add]}} "{{task_name}}" --priority {{1}} --label-ids "{{label_id}}" --project-name "{{project_name}}" --date "{{tmr 9am}}"Add a high priority task with a label, project, and due date in quick mode:
todoist {{[q|quick]}} '#{{project_name}} "{{tmr 9am}}" p{{1}} {{task_name}} @{{label_name}}'List all tasks with a header and color:
todoist --header --color listList all high priority tasks:
todoist {{[l|list]}} --filter p{{1}}List today's tasks with high priority that have the specified label:
todoist {{[l|list]}} --filter '(@{{label_name}} | {{today}}) & p{{1}}'Code Snippets
Add a task
todoist {{[a|add]}} "{{task_name}}"Add a high priority task with a label, project, and due date
todoist {{[a|add]}} "{{task_name}}" --priority {{1}} --label-ids "{{label_id}}" --project-name "{{project_name}}" --date "{{tmr 9am}}"Add a high priority task with a label, project, and due date in quick mode
todoist {{[q|quick]}} '#{{project_name}} "{{tmr 9am}}" p{{1}} {{task_name}} @{{label_name}}'List all tasks with a header and color
todoist --header --color listList all high priority tasks
todoist {{[l|list]}} --filter p{{1}}Context
tldr-pages: common/todoist
Revisions (0)
No revisions yet.