mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Documentation
- While the man pages were not exactly updated for 2.0, the harmful and obsolete stuff was removed.
This commit is contained in:
parent
761def8fb7
commit
6e52194ab0
4 changed files with 107 additions and 131 deletions
|
@ -41,14 +41,14 @@ Do we really want all those color control codes in the file? Taskwarrior
|
||||||
assumes that you do not, and temporarily sets color to 'off' while generating
|
assumes that you do not, and temporarily sets color to 'off' while generating
|
||||||
the output. This explains the output from the following command:
|
the output. This explains the output from the following command:
|
||||||
|
|
||||||
$ task config | grep '^color '
|
$ task show | grep '^color '
|
||||||
color off
|
color off
|
||||||
|
|
||||||
it always returns 'off', no matter what the setting.
|
it always returns 'off', no matter what the setting, because the output is being
|
||||||
|
sent to a pipe.
|
||||||
|
|
||||||
The reason is that the taskwarrior output gets piped into grep, and the color is
|
If you wanted those color codes, you can override this behavior by setting the
|
||||||
disabled. If you wanted those color codes, you can override this behavior by
|
_forcecolor variable to on, like this:
|
||||||
setting the _forcecolor variable to on, like this:
|
|
||||||
|
|
||||||
$ task config _forcecolor on
|
$ task config _forcecolor on
|
||||||
$ task config | grep '^color '
|
$ task config | grep '^color '
|
||||||
|
@ -121,7 +121,7 @@ the sample requested.
|
||||||
|
|
||||||
Some combinations look very nice, some look terrible. Different terminal
|
Some combinations look very nice, some look terrible. Different terminal
|
||||||
programs do implement slightly different versions of 'red', for example, so you
|
programs do implement slightly different versions of 'red', for example, so you
|
||||||
may see some unwanted variation due to the program. The brightness of your
|
may see some unexpected variation across machines. The brightness of your
|
||||||
display is also a factor.
|
display is also a factor.
|
||||||
|
|
||||||
.SH 256-COLOR SUPPORT
|
.SH 256-COLOR SUPPORT
|
||||||
|
@ -193,7 +193,7 @@ combination:
|
||||||
red on gray3
|
red on gray3
|
||||||
|
|
||||||
you are mixing a 16-color and 256-color specification. Taskwarrior will map red
|
you are mixing a 16-color and 256-color specification. Taskwarrior will map red
|
||||||
to color1, and proceed. Note that red and color1 are not quite the same.
|
to color1, and proceed. Note that red and color1 are not quite the same tone.
|
||||||
|
|
||||||
Note also that there is no bold or bright attributes when dealing with 256
|
Note also that there is no bold or bright attributes when dealing with 256
|
||||||
colors, but there is still underline available.
|
colors, but there is still underline available.
|
||||||
|
@ -210,7 +210,7 @@ without necessarily creating a set of tasks that meet each of the rule criteria.
|
||||||
.SH RULES
|
.SH RULES
|
||||||
Taskwarrior supports colorization rules. These are configuration values that
|
Taskwarrior supports colorization rules. These are configuration values that
|
||||||
specify a color, and the conditions under which that color is used. By example,
|
specify a color, and the conditions under which that color is used. By example,
|
||||||
let's add a few tasks:
|
let us add a few tasks:
|
||||||
|
|
||||||
$ task add project:Home priority:H pay the bills (1)
|
$ task add project:Home priority:H pay the bills (1)
|
||||||
$ task add project:Home clean the rug (2)
|
$ task add project:Home clean the rug (2)
|
||||||
|
@ -219,13 +219,13 @@ let's add a few tasks:
|
||||||
We can add a color rule that uses a blue background for all tasks in the Home
|
We can add a color rule that uses a blue background for all tasks in the Home
|
||||||
project:
|
project:
|
||||||
|
|
||||||
$ task config color.project.Home on blue
|
$ task config color.project.Home 'on blue'
|
||||||
|
|
||||||
We use quotes around "on blue" because there are two words, but they represent
|
We use quotes around 'on blue' because there are two words, but they represent
|
||||||
one value in the .taskrc file. Now suppose we which to use a bold yellow text
|
one value in the .taskrc file. Now suppose we which to use a bold yellow text
|
||||||
color for all cleaning work:
|
color for all cleaning work:
|
||||||
|
|
||||||
$ task config color.keyword.clean bold yellow
|
$ task config color.keyword.clean 'bold yellow'
|
||||||
|
|
||||||
Now what happens to task 2, which belongs to project Home (blue background), and
|
Now what happens to task 2, which belongs to project Home (blue background), and
|
||||||
is also a cleaning task (bold yellow foreground)? The colors are combined, and
|
is also a cleaning task (bold yellow foreground)? The colors are combined, and
|
||||||
|
@ -243,16 +243,17 @@ be a visual mess. Beware!
|
||||||
The precedence for the color rules is determined by the configuration
|
The precedence for the color rules is determined by the configuration
|
||||||
variable 'rule.precedence.color', which by default contains:
|
variable 'rule.precedence.color', which by default contains:
|
||||||
|
|
||||||
due.today,active,blocked,overdue,due,keyword,project,tag,recurring,pri,tagged
|
due.today,active,blocked,overdue,due,keyword,project,tag,recurring,pri,tagged,completed,deleted
|
||||||
|
|
||||||
These are just the color rules with the 'color.' prefix removed. The
|
These are just the color rules with the 'color.' prefix removed. The
|
||||||
rule 'color.due.today' is the highest precedence, and 'color.tagged' is the lowest.
|
rule 'color.due.today' is the highest precedence, and 'color.deleted' is the lowest.
|
||||||
|
|
||||||
The keyword rule shown here as 'keyword' corresponds to a wildcard pattern,
|
The keyword rule shown here as 'keyword' corresponds to a wildcard pattern,
|
||||||
meaning 'color.keyword.*', or in other words all the keyword rules. Similarly
|
meaning 'color.keyword.*', or in other words all the keyword rules. Similarly
|
||||||
for the 'color.tag.*' and 'color.project.*' rules.
|
for the 'color.tag.*' and 'color.project.*' rules.
|
||||||
|
|
||||||
There is also 'color.project.none', 'color.tag.none' and 'color.pri.none'.
|
There is also 'color.project.none', 'color.tag.none' and 'color.pri.none' to
|
||||||
|
specifically represent missing data.
|
||||||
|
|
||||||
.SH THEMES
|
.SH THEMES
|
||||||
Taskwarrior supports themes. What this really means is that with the ability to
|
Taskwarrior supports themes. What this really means is that with the ability to
|
||||||
|
@ -269,19 +270,29 @@ include /usr/local/share/doc/task/rc/dark-256.theme
|
||||||
You can use any of the standard taskwarrior themes:
|
You can use any of the standard taskwarrior themes:
|
||||||
|
|
||||||
.RS
|
.RS
|
||||||
light-16.theme
|
|
||||||
.br
|
|
||||||
light-256.theme
|
|
||||||
.br
|
|
||||||
dark-16.theme
|
dark-16.theme
|
||||||
.br
|
.br
|
||||||
dark-256.theme
|
dark-256.theme
|
||||||
.br
|
.br
|
||||||
dark-red-256.theme
|
dark-blue-256.theme
|
||||||
|
.br
|
||||||
|
dark-gray-256.theme
|
||||||
.br
|
.br
|
||||||
dark-green-256.theme
|
dark-green-256.theme
|
||||||
.br
|
.br
|
||||||
dark-blue-256.theme
|
dark-red-256.theme
|
||||||
|
.br
|
||||||
|
dark-violets-256.theme
|
||||||
|
.br
|
||||||
|
dark-yellow-green.theme
|
||||||
|
.br
|
||||||
|
light-16.theme
|
||||||
|
.br
|
||||||
|
light-256.theme
|
||||||
|
.br
|
||||||
|
solarized-dark-256.theme
|
||||||
|
.br
|
||||||
|
solarized-light-256.theme
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
You can also see how the theme will color the various tasks with the command:
|
You can also see how the theme will color the various tasks with the command:
|
||||||
|
|
|
@ -144,8 +144,8 @@ particularly if your .taskrc file was created by an older version.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B Q: Do I need to back up my taskwarrior data?
|
.B Q: Do I need to back up my taskwarrior data?
|
||||||
Yes. You should back up your ~/.task directory, and probably your ~/.taskrc
|
Yes. You should back up all the files in your ~/.task directory, and probably
|
||||||
file too.
|
your ~/.taskrc file too.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B Q: Can I share my tasks between different machines?
|
.B Q: Can I share my tasks between different machines?
|
||||||
|
@ -253,9 +253,9 @@ When you run a report (such as "list"), the numbers are assigned before display.
|
||||||
For example, you can do this:
|
For example, you can do this:
|
||||||
|
|
||||||
$ task list
|
$ task list
|
||||||
$ task do 12
|
$ task 12 done
|
||||||
$ task add Pay the rent
|
$ task add Pay the rent
|
||||||
$ task delete 31
|
$ task 31 delete
|
||||||
|
|
||||||
Those id numbers are then good until the next report is run. This is because
|
Those id numbers are then good until the next report is run. This is because
|
||||||
taskwarrior performs a garbage-collect operation on the pending tasks file when
|
taskwarrior performs a garbage-collect operation on the pending tasks file when
|
||||||
|
|
|
@ -3,6 +3,8 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
task-tutorial \- A tutorial for the task(1) command line todo manager.
|
task-tutorial \- A tutorial for the task(1) command line todo manager.
|
||||||
|
|
||||||
|
NOTE THAT THIS DOCUMENT HAS NOT YET BEEN UPDATED FOR THE 2.0 RELEASE.
|
||||||
|
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
This tutorial contains a narrative and a series of commands that lead you
|
This tutorial contains a narrative and a series of commands that lead you
|
||||||
through different scenarios and illustrate the capabilities of taskwarrior.
|
through different scenarios and illustrate the capabilities of taskwarrior.
|
||||||
|
|
|
@ -3,6 +3,8 @@
|
||||||
.SH NAME
|
.SH NAME
|
||||||
task \- A command line todo manager.
|
task \- A command line todo manager.
|
||||||
|
|
||||||
|
NOTE THAT THIS DOCUMENT HAS NOT BEEN FULLY UPDATED FOR THE 2.0 RELEASE.
|
||||||
|
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B task [subcommand] [args]
|
.B task [subcommand] [args]
|
||||||
|
|
||||||
|
@ -22,32 +24,28 @@ the way you want to see it.
|
||||||
.SH SUBCOMMANDS
|
.SH SUBCOMMANDS
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B add [tags] [attrs] description
|
.B add <modifications>
|
||||||
Adds a new task to the task list.
|
Adds a new task to the task list.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B log [tags] [attrs] description
|
.B log <modifications>
|
||||||
Adds a new task that is already completed, to the task list.
|
Adds a new task that is already completed, to the task list.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B annotate ID description
|
.B <filter> annotate <modifications>
|
||||||
Adds an annotation to an existing task.
|
Adds an annotation to an existing task.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B denotate ID description
|
.B <filter> denotate <modifications>
|
||||||
Deletes an annotation for the specified task. If the provided description
|
Deletes an annotation for the specified task. If the provided description
|
||||||
matches an annotation exactly, the corresponding annotation is deleted. If the
|
matches an annotation exactly, the corresponding annotation is deleted. If the
|
||||||
provided description matches annotations partly, the first partly matched
|
provided description matches annotations partly, the first partly matched
|
||||||
annotation is deleted.
|
annotation is deleted.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B information ID
|
.B <filter> information
|
||||||
Shows all data and metadata for the specified task.
|
Shows all data and metadata for the specified task.
|
||||||
|
|
||||||
.TP
|
|
||||||
.B ID
|
|
||||||
With an ID but no specific command, taskwarrior runs the "information" command.
|
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B undo
|
.B undo
|
||||||
Reverts the most recent action. Obeys the confirmation setting.
|
Reverts the most recent action. Obeys the confirmation setting.
|
||||||
|
@ -57,38 +55,38 @@ Reverts the most recent action. Obeys the confirmation setting.
|
||||||
Launches an interactive shell with all the task commands available.
|
Launches an interactive shell with all the task commands available.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B duplicate ID [tags] [attrs] [description]
|
.B <filter> duplicate <modifications>
|
||||||
Duplicates the specified task and allows modifications.
|
Duplicates the specified task and allows modifications.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B delete ID
|
.B <filter> delete <modifications>
|
||||||
Deletes the specified task from task list.
|
Deletes the specified task from task list.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B start ID
|
.B <filter> start <modifications>
|
||||||
Marks the specified task as started.
|
Marks the specified task as started.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B stop ID
|
.B <filter> stop <modifications>
|
||||||
Removes the
|
Removes the
|
||||||
.I start
|
.I start
|
||||||
time from the specified task.
|
time from the specified task.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B done ID [tags] [attrs] [description]
|
.B <filter> done <modifications>
|
||||||
Marks the specified task as done.
|
Marks the specified task as done.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B projects
|
.B <filter> projects
|
||||||
Lists all project names that are currently used by pending tasks, and the
|
Lists all project names that are currently used by pending tasks, and the
|
||||||
number of tasks for each.
|
number of tasks for each.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B tags
|
.B <filter> tags
|
||||||
Show a list of all tags used. Any special tags used are highlighted.
|
Show a list of all tags used. Any special tags used are highlighted.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B summary
|
.B <filter> summary
|
||||||
Shows a report of task status by project.
|
Shows a report of task status by project.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
|
@ -96,31 +94,31 @@ Shows a report of task status by project.
|
||||||
Shows a weekly report of tasks completed and started.
|
Shows a weekly report of tasks completed and started.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B history
|
.B <filter> history
|
||||||
Shows a report of task history by month. Alias to history.monthly.
|
Shows a report of task history by month. Alias to history.monthly.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B history.annual
|
.B <filter> history.annual
|
||||||
Shows a report of task history by year.
|
Shows a report of task history by year.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B ghistory
|
.B <filter> ghistory
|
||||||
Shows a graphical report of task status by month. Alias to ghistory.monthly.
|
Shows a graphical report of task status by month. Alias to ghistory.monthly.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B ghistory.annual
|
.B <filter> ghistory.annual
|
||||||
Shows a graphical report of task status by year.
|
Shows a graphical report of task status by year.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B burndown.daily
|
.B <filter> burndown.daily
|
||||||
Shows a graphical burndown chart, by day.
|
Shows a graphical burndown chart, by day.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B burndown.weekly
|
.B <filter> burndown.weekly
|
||||||
Shows a graphical burndown chart, by week.
|
Shows a graphical burndown chart, by week.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B burndown.monthly
|
.B <filter> burndown.monthly
|
||||||
Shows a graphical burndown chart, by month.
|
Shows a graphical burndown chart, by month.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
|
@ -128,7 +126,7 @@ Shows a graphical burndown chart, by month.
|
||||||
Shows a monthly calendar with due tasks marked.
|
Shows a monthly calendar with due tasks marked.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B stats
|
.B <filter> stats
|
||||||
Shows task database statistics.
|
Shows task database statistics.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
|
@ -137,30 +135,11 @@ Imports tasks in a variety of formats, from file or URL.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B export
|
.B export
|
||||||
Exports all tasks in the default format. This is an alias to the command
|
Exports all tasks in the JSON format. export.yaml. Redirect the output to a
|
||||||
export.yaml. Redirect the output to a file, if you wish to save it, or pipe it
|
file, if you wish to save it, or pipe it to another command.
|
||||||
to another command.
|
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B export.csv
|
.B merge <URL>
|
||||||
Exports all tasks in CSV format.
|
|
||||||
Redirect the output to a file, if you wish to save it, or pipe it to another
|
|
||||||
command.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B export.ical
|
|
||||||
Exports all tasks in iCalendar format.
|
|
||||||
Redirect the output to a file, if you wish to save it, or pipe it to another
|
|
||||||
command.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B export.yaml
|
|
||||||
Exports all tasks in YAML 1.1 format.
|
|
||||||
Redirect the output to a file, if you wish to save it, or pipe it to another
|
|
||||||
command.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B merge URL
|
|
||||||
Merges two task databases by comparing the modifications that are stored in the
|
Merges two task databases by comparing the modifications that are stored in the
|
||||||
undo.data files. The location of the second undo.data file must be passed on as
|
undo.data files. The location of the second undo.data file must be passed on as
|
||||||
argument. URL may have the following syntaxes:
|
argument. URL may have the following syntaxes:
|
||||||
|
@ -177,14 +156,14 @@ You can set aliases for frequently used URLs in the .taskrc. Further documentati
|
||||||
can be found in task-sync(5) manpage.
|
can be found in task-sync(5) manpage.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B push URL
|
.B push <URL>
|
||||||
Pushes the task database to a remote another location for distributing the
|
Pushes the task database to a remote another location for distributing the
|
||||||
changes made by the merge command.
|
changes made by the merge command.
|
||||||
|
|
||||||
(See annotations above for valid URL syntaxes.)
|
(See annotations above for valid URL syntaxes.)
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B pull URL
|
.B pull <URL>
|
||||||
Overwrites the task database with those files found at the URL.
|
Overwrites the task database with those files found at the URL.
|
||||||
|
|
||||||
(See annotations above for valid URL syntaxes.)
|
(See annotations above for valid URL syntaxes.)
|
||||||
|
@ -195,16 +174,16 @@ Displays all possible colors, a named sample, or a legend containing all
|
||||||
currently defined colors.
|
currently defined colors.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B count [filter]
|
.B <filter> count
|
||||||
Displays only a count of tasks matching the filter.
|
Displays only a count of tasks matching the filter.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B ids [filter]
|
.B <filter> ids
|
||||||
Applies the filter then extracts only the task IDs and presents them as
|
Applies the filter then extracts only the task IDs and presents them as
|
||||||
a range, for example: 1-4,12. This is useful as input to a task command,
|
a range, for example: 1-4,12. This is useful as input to a task command,
|
||||||
to achieve this:
|
to achieve this:
|
||||||
|
|
||||||
task priority:H $(task ids project:Home)
|
task modify priority:H $(task project:Home ids)
|
||||||
|
|
||||||
This example first gets the IDs for the project:Home filter, then sets
|
This example first gets the IDs for the project:Home filter, then sets
|
||||||
the priority to H for each of those tasks.
|
the priority to H for each of those tasks.
|
||||||
|
@ -249,37 +228,21 @@ Finally, this command removes any 'name=...' entry from the .taskrc file:
|
||||||
.SH MODIFYING SUBCOMMANDS
|
.SH MODIFYING SUBCOMMANDS
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B ID [tags] [attrs] [description]
|
.B <filter> modify <modifications>
|
||||||
Modifies the existing task with provided information.
|
Modifies the existing task with provided information.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B ID /from/to/
|
.B <filter> edit
|
||||||
Performs one substitution on task description and annotation for fixing
|
|
||||||
mistakes.
|
|
||||||
|
|
||||||
If either 'from' or 'to' contain spaces, you will need to put quotes around
|
|
||||||
the whole thing.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B ID /from/to/g
|
|
||||||
Performs all substitutions on task description and annotation for fixing
|
|
||||||
mistakes.
|
|
||||||
|
|
||||||
If either 'from' or 'to' contain spaces, you will need to put quotes around
|
|
||||||
the whole thing.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B edit ID
|
|
||||||
Launches an editor to let you modify all aspects of a task directly.
|
Launches an editor to let you modify all aspects of a task directly.
|
||||||
In general, this is not the recommended method of modifying tasks, but is
|
In general, this is not the recommended method of modifying tasks, but is
|
||||||
provided for exceptional circumstances. Use carefully.
|
provided for exceptional circumstances. Use carefully.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B append [tags] [attrs] description
|
.B <filter> append <modifications>
|
||||||
Appends information to an existing task.
|
Appends information to an existing task.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B prepend [tags] [attrs] description
|
.B <filter> prepend <modifications>
|
||||||
Prepends information to an existing task.
|
Prepends information to an existing task.
|
||||||
|
|
||||||
.SH REPORT SUBCOMMANDS
|
.SH REPORT SUBCOMMANDS
|
||||||
|
@ -290,76 +253,76 @@ these reports can be configured in the configuration file. See also the man page
|
||||||
taskrc(5).
|
taskrc(5).
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B active [filter]
|
.B <filter> active
|
||||||
Shows all tasks matching the filter that are started but not completed.
|
Shows all tasks matching the filter that are started but not completed.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B all [filter]
|
.B <filter> all
|
||||||
Shows all tasks matching the filter, including parents of recurring tasks.
|
Shows all tasks matching the filter, including parents of recurring tasks.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B completed [filter]
|
.B <filter> completed
|
||||||
Shows all tasks matching the filter that are completed.
|
Shows all tasks matching the filter that are completed.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B minimal [filter]
|
.B <filter> minimal
|
||||||
Provides a minimal listing of tasks matching the filter.
|
Provides a minimal listing of tasks matching the filter.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B ls [filter]
|
.B <filter> ls
|
||||||
Provides a short listing of tasks matching the filter.
|
Provides a short listing of tasks matching the filter.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B list [filter]
|
.B <filter> list
|
||||||
Provides a more detailed listing of tasks matching the filter.
|
Provides a more detailed listing of tasks matching the filter.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B long [filter]
|
.B <filter> long
|
||||||
Provides the most detailed listing of tasks with filter.
|
Provides the most detailed listing of tasks with filter.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B newest [filter]
|
.B <filter> newest
|
||||||
Shows the newest tasks with filter.
|
Shows the newest tasks with filter.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B oldest [filter]
|
.B <filter> oldest
|
||||||
Shows the oldest tasks with filter
|
Shows the oldest tasks with filter
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B overdue [filter]
|
.B <filter> overdue
|
||||||
Shows all incomplete tasks matching the filter
|
Shows all incomplete tasks matching the filter
|
||||||
that are beyond their due date.
|
that are beyond their due date.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B recurring [filter]
|
.B <filter> recurring
|
||||||
Shows all recurring tasks matching the filter.
|
Shows all recurring tasks matching the filter.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B waiting [filter]
|
.B <filter> waiting
|
||||||
Shows all waiting tasks matching the filter.
|
Shows all waiting tasks matching the filter.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B blocked [filter]
|
.B <filter> blocked
|
||||||
Shows all blocked tasks, that are dependent on other tasks, matching the filter.
|
Shows all blocked tasks, that are dependent on other tasks, matching the filter.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B unblocked [filter]
|
.B <filter> unblocked
|
||||||
Shows all tasks that are not blocked by dependencies, matching the filter.
|
Shows all tasks that are not blocked by dependencies, matching the filter.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B next [filter]
|
.B <filter> next
|
||||||
Shows all tasks with upcoming due dates matching the filter.
|
Shows a page of the most urgent tasks. Urgency is a calculated value.
|
||||||
|
|
||||||
.SH FILTERS
|
.SH FILTERS
|
||||||
|
|
||||||
A filter is a set of search criteria that the report applies before displaying
|
A filter is a set of search criteria that the report applies before displaying
|
||||||
the results. For example, to list all tasks belonging to the 'Home' project:
|
the results. For example, to list all tasks belonging to the 'Home' project:
|
||||||
|
|
||||||
task list project:Home
|
task project:Home list
|
||||||
|
|
||||||
You can specify multiple filters, each of which further restrict the results:
|
You can specify multiple filters, each of which further restrict the results:
|
||||||
|
|
||||||
task list project:Home +weekend garden
|
task project:Home +weekend garden list
|
||||||
|
|
||||||
This example applies three filters: the 'Home' project, the 'weekend' tag, and
|
This example applies three filters: the 'Home' project, the 'weekend' tag, and
|
||||||
the description or annotations must contain the characters 'garden'. In this
|
the description or annotations must contain the characters 'garden'. In this
|
||||||
|
@ -381,7 +344,7 @@ modification to the database. Always run a report to check you have the right
|
||||||
ID for a task. IDs can be given to task as a sequences, for example,
|
ID for a task. IDs can be given to task as a sequences, for example,
|
||||||
.br
|
.br
|
||||||
.B
|
.B
|
||||||
task del 1,4-10,19
|
task 1,4-10,19 del
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B +tag|-tag
|
.B +tag|-tag
|
||||||
|
@ -418,11 +381,11 @@ Specifies the Recurrence end-date of a task.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B fg:<color-spec>
|
.B fg:<color-spec>
|
||||||
Specifies foreground color.
|
Specifies foreground color. Deprecated.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B bg:<color-spec>
|
.B bg:<color-spec>
|
||||||
Specifies background color.
|
Specifies background color. Deprecated.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B limit:<number-of-rows>
|
.B limit:<number-of-rows>
|
||||||
|
@ -480,7 +443,7 @@ the complementary set of items. Supported modifiers are:
|
||||||
For example:
|
For example:
|
||||||
|
|
||||||
.RS
|
.RS
|
||||||
task list due.before:eom priority.not:L
|
task due.before:eom priority.not:L list
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
The
|
The
|
||||||
|
@ -500,8 +463,8 @@ The
|
||||||
.I none
|
.I none
|
||||||
modifier requires that the attribute does not have a value. For example:
|
modifier requires that the attribute does not have a value. For example:
|
||||||
|
|
||||||
task list priority:
|
task priority: list
|
||||||
task list priority.none:
|
task priority.none: list
|
||||||
|
|
||||||
are equivalent, and list tasks that do not have a priority.
|
are equivalent, and list tasks that do not have a priority.
|
||||||
|
|
||||||
|
@ -523,8 +486,8 @@ The
|
||||||
.I has
|
.I has
|
||||||
modifier is used to search for a substring, such as:
|
modifier is used to search for a substring, such as:
|
||||||
|
|
||||||
task list description.has:foo
|
task description.has:foo list
|
||||||
task list foo
|
task foo list
|
||||||
|
|
||||||
which are equivalent and will return any task that has 'foo' in the description
|
which are equivalent and will return any task that has 'foo' in the description
|
||||||
or annotations.
|
or annotations.
|
||||||
|
@ -539,14 +502,14 @@ The
|
||||||
.I startswith
|
.I startswith
|
||||||
modifier matches against the left, or beginning of an attribute, such that:
|
modifier matches against the left, or beginning of an attribute, such that:
|
||||||
|
|
||||||
task list project.startswith:H
|
task project.startswith:H list
|
||||||
task list project:H
|
task project:H list
|
||||||
|
|
||||||
are equivalent and will match any project starting with 'H'. Matching all
|
are equivalent and will match any project starting with 'H'. Matching all
|
||||||
projects not starting with 'H' is done with:
|
projects not starting with 'H' is done with:
|
||||||
|
|
||||||
task list project.~startswith:H
|
task project.~startswith:H list
|
||||||
task list project.not:H
|
task project.not:H list
|
||||||
|
|
||||||
The
|
The
|
||||||
.I endswith
|
.I endswith
|
||||||
|
@ -557,7 +520,7 @@ The
|
||||||
modifier requires that the attribute contain the whole word specified, such
|
modifier requires that the attribute contain the whole word specified, such
|
||||||
that this:
|
that this:
|
||||||
|
|
||||||
task list description.word:bar
|
task description.word:bar list
|
||||||
|
|
||||||
will match the description 'foo bar baz' but does not match 'dog food'.
|
will match the description 'foo bar baz' but does not match 'dog food'.
|
||||||
|
|
||||||
|
@ -728,13 +691,13 @@ In other situations, the shell sees spaces and breaks up arguments. For
|
||||||
example, this command:
|
example, this command:
|
||||||
|
|
||||||
.RS
|
.RS
|
||||||
$ task 123 /from this/to that/
|
$ task 123 modify /from this/to that/
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
is broken up into several arguments, which is corrected with quotes:
|
is broken up into several arguments, which is corrected with quotes:
|
||||||
|
|
||||||
.RS
|
.RS
|
||||||
$ task 123 "/from this/to that/"
|
$ task 123 modify "/from this/to that/"
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
.SH CONFIGURATION FILE AND OVERRIDE OPTIONS
|
.SH CONFIGURATION FILE AND OVERRIDE OPTIONS
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue