mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-26 15:47:19 +02:00
Documentation
- Updated taskrc.5.in to match the 2.0 supported set.
This commit is contained in:
parent
0ac9a4b3df
commit
7a1b219c2c
1 changed files with 51 additions and 43 deletions
|
@ -6,7 +6,9 @@ taskrc \- Configuration file for the task(1) command
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B $HOME/.taskrc
|
.B $HOME/.taskrc
|
||||||
.br
|
.br
|
||||||
.B task rc:<directory-path>/.taskrc
|
.B task rc:<directory-path>/.taskrc ...
|
||||||
|
.br
|
||||||
|
.B TASKRC=<directory-path>/.taskrc task ...
|
||||||
|
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.B taskwarrior
|
.B taskwarrior
|
||||||
|
@ -23,10 +25,16 @@ The default location can be overridden using the
|
||||||
attribute when running task:
|
attribute when running task:
|
||||||
|
|
||||||
.RS
|
.RS
|
||||||
$ task rc:<directory-path>/.taskrc
|
$ task rc:<directory-path>/.taskrc ...
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
Individual option can be overridden by using the
|
or usign the TASKRC environment variable:
|
||||||
|
|
||||||
|
.RS
|
||||||
|
$ TASKRC=/tmp/.taskrc task ...
|
||||||
|
.RE
|
||||||
|
|
||||||
|
Individual options can be overridden by using the
|
||||||
.I rc.<name>:
|
.I rc.<name>:
|
||||||
attribute when running task:
|
attribute when running task:
|
||||||
|
|
||||||
|
@ -34,6 +42,12 @@ attribute when running task:
|
||||||
$ task rc.<name>:<value> ...
|
$ task rc.<name>:<value> ...
|
||||||
.RE
|
.RE
|
||||||
|
|
||||||
|
or
|
||||||
|
|
||||||
|
.RS
|
||||||
|
$ task rc.<name>=<value> ...
|
||||||
|
.RE
|
||||||
|
|
||||||
If
|
If
|
||||||
.B taskwarrior
|
.B taskwarrior
|
||||||
is run without an existing configuration file it will ask if it should create a
|
is run without an existing configuration file it will ask if it should create a
|
||||||
|
@ -41,8 +55,8 @@ default, sample
|
||||||
.I .taskrc
|
.I .taskrc
|
||||||
file in the user's home directory.
|
file in the user's home directory.
|
||||||
|
|
||||||
The taskwarrior configuration file consists of a series of "assignments" in each
|
The taskwarrior configuration file consists of a series of assignments in each
|
||||||
line. The "assignments" have the syntax:
|
line. The assignments have the syntax:
|
||||||
|
|
||||||
.RS
|
.RS
|
||||||
<name-of-configuration-variable>=<value-to-be-set>
|
<name-of-configuration-variable>=<value-to-be-set>
|
||||||
|
@ -62,7 +76,7 @@ is the value the variable is to be set to.
|
||||||
and set a configuration variable to a certain value. The equal sign ("=") is
|
and set a configuration variable to a certain value. The equal sign ("=") is
|
||||||
used to separate the variable name from the value to be set.
|
used to separate the variable name from the value to be set.
|
||||||
|
|
||||||
The hash mark, or pound sign ("#") is used as a "comment" character. It can be
|
The hash mark, or pound sign ("#") is used as a comment character. It can be
|
||||||
used to annotate the configuration file. All text after the character to the end
|
used to annotate the configuration file. All text after the character to the end
|
||||||
of the line is ignored.
|
of the line is ignored.
|
||||||
|
|
||||||
|
@ -149,6 +163,8 @@ Note that you can use the
|
||||||
.B ~
|
.B ~
|
||||||
shell meta character, which will be properly expanded.
|
shell meta character, which will be properly expanded.
|
||||||
|
|
||||||
|
Note that the TASKDATA environment variable overrides this setting.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B locking=on
|
.B locking=on
|
||||||
Determines whether to use file locking when accessing the pending.data and
|
Determines whether to use file locking when accessing the pending.data and
|
||||||
|
@ -162,12 +178,12 @@ task) may write to the task.pending file at the same time.
|
||||||
Can be used to temporarily suspend garbage collection (gc), so that task IDs
|
Can be used to temporarily suspend garbage collection (gc), so that task IDs
|
||||||
don't change. Note that this should be used in the form of a command line
|
don't change. Note that this should be used in the form of a command line
|
||||||
override (task rc.gc=off ...), and not permanently used in the .taskrc file,
|
override (task rc.gc=off ...), and not permanently used in the .taskrc file,
|
||||||
as this significantly affects performance.
|
as this significantly affects performance in the long term.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B exit.on.missing.db=no
|
.B exit.on.missing.db=no
|
||||||
When set to 'yes' causes the program to exit if the database (~/.task or
|
When set to 'yes' causes the program to exit if the database (~/.task or
|
||||||
rc.data.location override) is missing. Default value is 'no'.
|
rc.data.location or TASKDATA override) is missing. Default value is 'no'.
|
||||||
|
|
||||||
.SS TERMINAL
|
.SS TERMINAL
|
||||||
.TP
|
.TP
|
||||||
|
@ -252,18 +268,7 @@ for safety.
|
||||||
.B echo.command=yes
|
.B echo.command=yes
|
||||||
May be "yes" or "no", and causes the display of the ID and description of any
|
May be "yes" or "no", and causes the display of the ID and description of any
|
||||||
task when you run the start, stop, do, undo or delete commands. The default
|
task when you run the start, stop, do, undo or delete commands. The default
|
||||||
value is "yes". Deprecated - use verbosity token 'affected'.
|
value is "yes". Deprecated - use verbosity tokens 'header' and 'affected'.
|
||||||
|
|
||||||
.TP
|
|
||||||
.B annotations=full
|
|
||||||
.TP
|
|
||||||
.B report.X.annotations=full
|
|
||||||
Controls the display of annotations in reports. Defaults to full - all
|
|
||||||
annotations are displayed. Set to "sparse" only the last (newest) annotation
|
|
||||||
is displayed and if there are more than one present for a task a "+" sign is
|
|
||||||
added to the description. Set to "none" the output of annotations is disabled
|
|
||||||
and a "+" sign will be added if there are any annotations present. The default
|
|
||||||
value is "full".
|
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B indent.annotation=2
|
.B indent.annotation=2
|
||||||
|
@ -440,16 +445,6 @@ Taskwarrior supports command aliases. This alias provides an alternate name
|
||||||
any of the commands. Several commands you may use are actually aliases -
|
any of the commands. Several commands you may use are actually aliases -
|
||||||
the 'history' report, for example, or 'export'.
|
the 'history' report, for example, or 'export'.
|
||||||
|
|
||||||
.SS SYNCH SERVER
|
|
||||||
.TP
|
|
||||||
.B taskd.server=<server>:<port>
|
|
||||||
The server and port address of the task server with which you synchronize.
|
|
||||||
|
|
||||||
.TP
|
|
||||||
.B taskd.credentials=<org>:<user>:<key>
|
|
||||||
These are your server credentials. Keep this information private and secure!
|
|
||||||
Note that these credentials must match the server account.
|
|
||||||
|
|
||||||
.SS EXTENSIONS
|
.SS EXTENSIONS
|
||||||
.TP
|
.TP
|
||||||
.B extensions=on
|
.B extensions=on
|
||||||
|
@ -929,19 +924,19 @@ The urgency calculation uses a polynomial with several terms, each of which
|
||||||
has a configurable coefficient. Those coefficients are:
|
has a configurable coefficient. Those coefficients are:
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B urgency.next.coefficient=10.0
|
.B urgency.next.coefficient=15.0
|
||||||
.RS
|
.RS
|
||||||
Urgency coefficients for 'next' special tag
|
Urgency coefficients for 'next' special tag
|
||||||
.RE
|
.RE
|
||||||
.B urgency.blocking.coefficient=9.0
|
.B urgency.blocking.coefficient=8.0
|
||||||
.RS
|
.RS
|
||||||
Urgency coefficients for blocking tasks
|
Urgency coefficients for blocking tasks
|
||||||
.RE
|
.RE
|
||||||
.B urgency.blocked.coefficient=-8.0
|
.B urgency.blocked.coefficient=-5.0
|
||||||
.RS
|
.RS
|
||||||
Urgency coefficients for blocked tasks
|
Urgency coefficients for blocked tasks
|
||||||
.RE
|
.RE
|
||||||
.B urgency.due.coefficient=7.0
|
.B urgency.due.coefficient=12.0
|
||||||
.RS
|
.RS
|
||||||
Urgency coefficients for due dates
|
Urgency coefficients for due dates
|
||||||
.RE
|
.RE
|
||||||
|
@ -949,7 +944,7 @@ Urgency coefficients for due dates
|
||||||
.RS
|
.RS
|
||||||
Urgency coefficients for priorities
|
Urgency coefficients for priorities
|
||||||
.RE
|
.RE
|
||||||
.B urgency.waiting.coefficient=5.0
|
.B urgency.waiting.coefficient=-3.0
|
||||||
.RS
|
.RS
|
||||||
Urgency coefficients for waiting status
|
Urgency coefficients for waiting status
|
||||||
.RE
|
.RE
|
||||||
|
@ -957,11 +952,11 @@ Urgency coefficients for waiting status
|
||||||
.RS
|
.RS
|
||||||
Urgency coefficients for active tasks
|
Urgency coefficients for active tasks
|
||||||
.RE
|
.RE
|
||||||
.B urgency.project.coefficient=3.0
|
.B urgency.project.coefficient=1.0
|
||||||
.RS
|
.RS
|
||||||
Urgency coefficients for projects
|
Urgency coefficients for projects
|
||||||
.RE
|
.RE
|
||||||
.B urgency.tags.coefficient=2.0
|
.B urgency.tags.coefficient=1.0
|
||||||
.RS
|
.RS
|
||||||
Urgency coefficients for tags
|
Urgency coefficients for tags
|
||||||
.RE
|
.RE
|
||||||
|
@ -969,7 +964,7 @@ Urgency coefficients for tags
|
||||||
.RS
|
.RS
|
||||||
Urgency coefficients for annotations
|
Urgency coefficients for annotations
|
||||||
.RE
|
.RE
|
||||||
.B urgency.age.coefficient=5.0
|
.B urgency.age.coefficient=2.0
|
||||||
.RS
|
.RS
|
||||||
Urgency coefficients for the age of tasks
|
Urgency coefficients for the age of tasks
|
||||||
.RE
|
.RE
|
||||||
|
@ -977,6 +972,14 @@ Urgency coefficients for the age of tasks
|
||||||
.RS
|
.RS
|
||||||
Maximum age in days. After this number of days has elapsed, the urgency of a task won't increase any more because of aging.
|
Maximum age in days. After this number of days has elapsed, the urgency of a task won't increase any more because of aging.
|
||||||
.RE
|
.RE
|
||||||
|
.B urgency.user.tag.<tag>.coefficient=...
|
||||||
|
.RS
|
||||||
|
Specific tag coefficient.
|
||||||
|
.RE
|
||||||
|
.B urgency.user.project.<project>.coefficient=...
|
||||||
|
.RS
|
||||||
|
Specific project coefficient.
|
||||||
|
.RE
|
||||||
|
|
||||||
The coefficients reflect the relative importance of the various terms in the
|
The coefficients reflect the relative importance of the various terms in the
|
||||||
urgency calculation. These are default values, and may be modified to suit your
|
urgency calculation. These are default values, and may be modified to suit your
|
||||||
|
@ -1144,7 +1147,7 @@ section for details on the sequence placeholders.
|
||||||
This adds the possibility to control the output of annotations for a task in a
|
This adds the possibility to control the output of annotations for a task in a
|
||||||
report. See the
|
report. See the
|
||||||
.B annotations
|
.B annotations
|
||||||
variable for details on the possible values.
|
variable for details on the possible values. Deprecated.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B report.X.limit
|
.B report.X.limit
|
||||||
|
@ -1155,6 +1158,10 @@ generated report. Deprecated.
|
||||||
Taskwarrior comes with a number of predefined reports in its default
|
Taskwarrior comes with a number of predefined reports in its default
|
||||||
configuration file. These reports are:
|
configuration file. These reports are:
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.B next
|
||||||
|
Lists the most important tasks.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B long
|
.B long
|
||||||
Lists all task, all data, matching the specified criteria.
|
Lists all task, all data, matching the specified criteria.
|
||||||
|
@ -1204,8 +1211,8 @@ Lists all waiting tasks matching the specified criteria.
|
||||||
Lists all tasks matching the specified criteria.
|
Lists all tasks matching the specified criteria.
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.B next
|
.B blocked
|
||||||
Lists the most important tasks.
|
List all tasks that have dependencies.
|
||||||
|
|
||||||
.SH "CREDITS & COPYRIGHTS"
|
.SH "CREDITS & COPYRIGHTS"
|
||||||
Copyright (C) 2006 \- 2012 P. Beckingham, F. Hernandez.
|
Copyright (C) 2006 \- 2012 P. Beckingham, F. Hernandez.
|
||||||
|
@ -1222,7 +1229,7 @@ http://www.opensource.org/licenses/mit-license.php for more information.
|
||||||
.BR task-color(5),
|
.BR task-color(5),
|
||||||
.BR task-sync(5)
|
.BR task-sync(5)
|
||||||
|
|
||||||
For more information regarding taskwarrior, the following may be referenced:
|
For more information regarding taskwarrior, see the following:
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
The official site at
|
The official site at
|
||||||
|
@ -1233,10 +1240,11 @@ The official code repository at
|
||||||
<git://tasktools.org/task.git/>
|
<git://tasktools.org/task.git/>
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
You can contact the project by writing an email to
|
You can contact the project by emailing
|
||||||
<support@taskwarrior.org>
|
<support@taskwarrior.org>
|
||||||
|
|
||||||
.SH REPORTING BUGS
|
.SH REPORTING BUGS
|
||||||
.TP
|
.TP
|
||||||
Bugs in taskwarrior may be reported to the issue-tracker at
|
Bugs in taskwarrior may be reported to the issue-tracker at
|
||||||
<http://taskwarrior.org>
|
<http://taskwarrior.org>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue