Task Commands
Command Line Syntax
task [<filter>] [<command>] [<modification>] [<miscellaneous>]
Adding Tasks
task add <task-description> proj:<prof name or task group>
- Adds and group with other tasks.
task add <task-description> proj:<prof name or task group> wait:someday
- Adds a task and put off far into the future. Adds a task and put off far into the future.
later
can also be used in place ofsomeday
Finishing Tasks
task done <ID>
Deleting Tasks
task delete <ID>
task $(task uuids completed) delete
- delete all completed tasks
Recurring Tasks
Adding Recurring Tasks
task add <description> proj:<project-name> recur:<duration>
task add recur:<duration> due:<first task due date> until:<delete first task by date> wait:<date when task will appear> "my task"
Adding a task every weekdays
task add "Read a book" proj:Todo recur:weekdays due:eod
Adding a task every monday at 16:00 for two hours with weekly
tag
task add "Do Monday chores @ 4pm" proj:Chores recur:weekly sched:monday+16h due:sched+2h +weekly
Adding a whole day task every wednesday
task add "Apply face mask before bed" proj:Todo recur:weekly sched:wednesday due:sched+PT23H59M59S +weekly
Adding a scheduled task every monday with due date
task add "PHYS 195 Zoom meeting @ 18:30 - 20:30" proj:Todo recur:weekly sched:monday+PT18H30M due:sched+PT02H +phys195
Adding task at 9:00, hidden until 5:00, and removed by 12:00 everyday
task add recur:daily due:9:00 until:12:00 wait:5:00 "eat breakfast"
Ref:
Ending Recurring Tasks
# View all recurring tasks
task recurring
# Select the ID of recurring task
task <ID> modify until:now
Ref:
All Commands
add
= Add a new taskannotate
= Add an annotation to a taskappend
= Append words to a task descriptioncalc
= Expression calculatorconfig
= Modify configuration settingscontext
= Manage contextscount
= Count the tasks matching a filterdelete
= Mark a task as deleteddenotate
= Remove an annotation from a taskdone
= Complete a taskduplicate
= Clone an existing taskedit
= Launch your text editor to modify a taskexecute
= Execute an external commandexport
= Export tasks in JSON formathelp
= Show high-level help, a cheat-sheetimport
= Import tasks in JSON formlog
= Record an already-completed tasklogo
= Show the Taskwarrior logomodify
= Modify one or more tasksprepend
= Prepend words to a task descriptionpurge
= Completely removes tasks, rather than change status to deletedstart
= Start working on a task, make activestop
= Stop working on a task, no longer activesynchronize
= Syncs tasks with Taskserverundo
= Revert last changeversion
= Version details and copyright
Customizable Reports
active
= Started tasksall
= Pending, completed and deleted tasksblocked
= Tasks that are blocked by other tasksblocking
= Tasks that block other taskscompleted
= Tasks that have been completedlist
= Pending taskslong
= Pending tasks, long formls
= Pending tasks, short formminimal
= Pending tasks, minimal formnewest
= Most recent pending tasksnext
= Most urgent tasksoldest
= Oldest pending tasksoverdue
= Overdue tasksready
= Pending, unblocked, scheduled tasksrecurring
= Pending recurring tasksunblocked
= Tasks that are not blockedwaiting
= Hidden, waiting tasks
Fixed Reports
burndown.daily
= Burndown chart, by dayburndown.monthly
= Burndown chart, by monthburndown.weekly
= Burndown chart, by weekcalendar
= Calendar and holidayscolors
= Demonstrates all supported colorscolumns
= List of report columns and supported formatscommands
= List of commands, with their behaviorsdiagnostics
= Show diagnostics, for troubleshootingghistory.annual
= History graph, by yearghistory.monthly
= History graph, by monthghistory.weekly
= History graph, by weekghistory.daily
= History graph, by dayhistory.annual
= History report, by yearhistory.monthly
= History report, by monthhistory.weekly
= History report, by weekhistory.daily
= History report, by dayids
= Filtered list of task IDsinformation
= All attributes shownprojects
= Filtered list of projects, with task countsreports
= List of available reportsshow
= Filtered list of configuration settingsstats
= Filtered statisticssummary
= Filtered project summarytags
= Filtered list of tagstimesheet
= Weekly timesheet reportudas
= Details of all defined UDAsuuids
= Filtered list of UUIDs
Helper Commands
_aliases
= List of active aliases_columns
= List of supported columns_commands
= List of supported commands_config
= List of confguration setting names_context
= List of defined context names_get
= DOM accessor_ids
= Filtered list of task IDs_projects
= Filtered list of project names_show
= List of name=value configuration settings_tags
= Filtered list of tags in use_udas
= List of configured UDA names_unique
= List of unique values for the specified attribute_urgency
= Filtered list of task urgencies_uuids
= Filtered list of pending UUIDs_version
= Task version (and optional git commit)_zshattributes
= Zsh formatted task attribute list_zshcommands
= Zsh formatted command list_zshids
= Zsh formatted ID list_zshuuids
= Zsh formatted UUID list
Ref: