- 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

@@ -43,6 +43,25 @@
lists all these commands.
</p>
<p>
However, if the following configuration variable is specified:
</p>
<pre><code>default.command=list pri:H</code></pre>
<p>
Then this command will be run whenever task is run without arguments.
This means that your most common task command can be run simply
with the command:
</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>
<strong>% task projects</strong>
<p>
This report generates a list of all the different projects that you