mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
Doc: Extended tag definition grammar/examples
This commit is contained in:
parent
f3faa1d260
commit
76aaecda94
2 changed files with 8 additions and 4 deletions
|
@ -25,13 +25,13 @@ next friday, at EOW:
|
|||
If overlapping intervals are permitted (configuration: interval.overlap=yes),
|
||||
then this creates overlapping intervals:
|
||||
|
||||
[1] $ timew start tag1
|
||||
1 $ timew start tag1
|
||||
...
|
||||
[2] $ timew start tag2
|
||||
2 $ timew start tag2
|
||||
...
|
||||
[3] $ timew stop tag1
|
||||
3 $ timew stop tag1
|
||||
...
|
||||
[4] $ timew stop tag2
|
||||
4 $ timew stop tag2
|
||||
|
||||
With overlapping intervals:
|
||||
o-------o tag1
|
||||
|
@ -63,5 +63,7 @@ associated metadata:
|
|||
$ timew define tag "tag1" description "Description of tag1"
|
||||
$ timew define tag "tag1" start 2016-01-01
|
||||
$ timew define tag "tag1" end 2016-06-30
|
||||
$ timew define tag "tag1" budget 20 hours per week
|
||||
$ timew define tag "tag1" budget 400 hours total
|
||||
|
||||
---
|
||||
|
|
|
@ -19,6 +19,8 @@ The CLI shall have a well-defined and unambiguous grammar.
|
|||
timew define tag <tag> description <string>
|
||||
timew define tag <tag> start <date>
|
||||
timew define tag <tag> end <date>
|
||||
timew define tag <tag> budget <number> <units> per <unit>
|
||||
timew define tag <tag> budget <number> <units> total
|
||||
|
||||
timew export ...
|
||||
timew import ...
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue