- Task now supports "default.command" configuration variable (for example

it could contain "list due:tomorrow") that is the command that is run
  whenever task is invoked with no arguments.
This commit is contained in:
Paul Beckingham
2008-09-12 16:07:50 -04:00
parent e9a71b7db9
commit fb87039d8c
6 changed files with 71 additions and 3 deletions

View File

@@ -258,6 +258,34 @@
<dd>
Provides a default priority for the "task add ..." command.
</dd>
<dt>default.command</dt>
<dd>
<p>
Provides a default command that is run every time task is
invoked with no arguments. For example, if set to:
</p>
<pre><code>default.command=list project:foo</code></pre>
<p>
Then task will run the "list project:foo" command if no
command is specified. This means that by merely typing:
</p>
<pre><code>% task
[task list project:foo]
ID Project Pri Description
1 foo H Design the thing
2 foo Build the thing</code></pre>
<p>
Note that the value of this variable is simply the command
line that you would ordinarily type, but without the
preceding "task" program name.
</p>
</dd>
</div>
<br />