mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
Add SYNOPSIS section
This commit is contained in:
parent
642fa26cb4
commit
91f02a4866
29 changed files with 211 additions and 0 deletions
|
@ -3,6 +3,9 @@
|
|||
.SH NAME
|
||||
timew-cancel \- cancel time tracking
|
||||
|
||||
.SH SYNOPSIS
|
||||
.B timew cancel
|
||||
|
||||
.TP
|
||||
.B timew cancel
|
||||
If there is an open interval, it is abandoned.
|
||||
|
|
|
@ -3,6 +3,17 @@
|
|||
.SH NAME
|
||||
timew-config \- get and set Timewarrior configuration
|
||||
|
||||
.SH SYNOPSIS
|
||||
.B timew config
|
||||
[
|
||||
.I <name>
|
||||
{
|
||||
.I <value>
|
||||
|
|
||||
.B ''
|
||||
}
|
||||
]
|
||||
|
||||
.TP
|
||||
.B timew config [<name> [<value> | '']]
|
||||
Allows setting and removing configuration values, as an alternative to directly
|
||||
|
|
|
@ -3,6 +3,18 @@
|
|||
.SH NAME
|
||||
timew-continue \- resume tracking of existing interval
|
||||
|
||||
.SH SYNOPSIS
|
||||
.B timew continue
|
||||
[
|
||||
.I <id>
|
||||
] [
|
||||
{
|
||||
.I <date>
|
||||
|
|
||||
.I <range>
|
||||
}
|
||||
]
|
||||
|
||||
.TP
|
||||
.B timew continue [@<id>] [<date>|<interval>]
|
||||
Resumes tracking of closed intervals. For example:
|
||||
|
|
|
@ -3,6 +3,15 @@
|
|||
.SH NAME
|
||||
timew-day \- display day chart
|
||||
|
||||
.SH SYNOPSIS
|
||||
.B timew day
|
||||
[
|
||||
.I <range>
|
||||
] [
|
||||
.I <tag>
|
||||
.B ...
|
||||
]
|
||||
|
||||
.TP
|
||||
.B timew day [<interval>] [<tag> ...]
|
||||
The day command shows a chart depicting a single day (today by default), with
|
||||
|
|
|
@ -3,6 +3,11 @@
|
|||
.SH NAME
|
||||
timew-delete \- delete intervals
|
||||
|
||||
.SH SYNOPSIS
|
||||
.B timew delete
|
||||
.I <id>
|
||||
.B ...
|
||||
|
||||
.TP
|
||||
.B timew delete @<id> [@<id> ...]
|
||||
Deletes an interval. Using the 'summary' command, and specifying the ':ids' hint
|
||||
|
|
|
@ -3,6 +3,9 @@
|
|||
.SH NAME
|
||||
timew-diagnostics \- show diagnostic information
|
||||
|
||||
.SH SYNOPSIS
|
||||
.B timew diagnostics
|
||||
|
||||
.TP
|
||||
.B timew diagnostics
|
||||
This command shows details about your version of Timewarrior, your platform, how
|
||||
|
|
|
@ -3,6 +3,14 @@
|
|||
.SH NAME
|
||||
timew-export \- export tracked time in JSON
|
||||
|
||||
.SH SYNOPSIS
|
||||
.B timew export
|
||||
[
|
||||
.I <range>
|
||||
] [
|
||||
.I <tag> ...
|
||||
]
|
||||
|
||||
.TP
|
||||
.B timew export [<interval>] [<tag> ...]
|
||||
Exports all the tracked time in JSON format. Supports filtering. For example:
|
||||
|
|
|
@ -3,6 +3,9 @@
|
|||
.SH NAME
|
||||
timew-extension \- list available extensions
|
||||
|
||||
.SH SYNOPSIS
|
||||
.B timew extensions
|
||||
|
||||
.TP
|
||||
.B timew extensions
|
||||
Displays the directory containing the extension programs and a table showing
|
||||
|
|
|
@ -3,6 +3,11 @@
|
|||
.SH NAME
|
||||
timew-fill \- adjust intervals to fill in surrounding gaps
|
||||
|
||||
.SH SYNOPSIS
|
||||
.B timew fill
|
||||
.I <id>
|
||||
.B ...
|
||||
|
||||
.TP
|
||||
.B timew fill @<id> [@<id> ...]
|
||||
|
||||
|
|
|
@ -3,6 +3,15 @@
|
|||
.SH NAME
|
||||
timew-gaps \- display time tracking gaps
|
||||
|
||||
.SH SYNOPSIS
|
||||
.B timew gaps
|
||||
[
|
||||
.I <range>
|
||||
] [
|
||||
.I <tag>
|
||||
.B ...
|
||||
]
|
||||
|
||||
.TP
|
||||
.B timew gaps [<interval>] [<tag> ...]
|
||||
Displays a summary of time that is neither tracked nor excluded from tracking.
|
||||
|
|
|
@ -3,6 +3,11 @@
|
|||
.SH NAME
|
||||
timew-get \- display DOM values
|
||||
|
||||
.SH SYNOPSIS
|
||||
.B timew get
|
||||
.I <DOM>
|
||||
.B ...
|
||||
|
||||
.TP
|
||||
.B timew get <DOM> [<DOM> ...]
|
||||
Validates the DOM reference, then obtains the value and displays it. For example:
|
||||
|
|
|
@ -3,6 +3,20 @@
|
|||
.SH NAME
|
||||
timew-help \- display help
|
||||
|
||||
.SH SYNOPSIS
|
||||
.B timew help
|
||||
{
|
||||
.I <command>
|
||||
|
|
||||
.B interval
|
||||
|
|
||||
.B hints
|
||||
|
|
||||
.B date
|
||||
|
|
||||
.B duration
|
||||
}
|
||||
|
||||
.TP
|
||||
.B timew help [<command> | interval | hints | date | duration]
|
||||
The help command shows detailed descriptions and examples of commands,
|
||||
|
|
|
@ -3,6 +3,10 @@
|
|||
.SH NAME
|
||||
timew-join \- join intervals
|
||||
|
||||
.SH SYNOPSIS
|
||||
.B timew join
|
||||
.I <id> <id>
|
||||
|
||||
.TP
|
||||
.B timew join @<id> @<id>
|
||||
Joins two intervals, by using the earlier of the two start times, and the later
|
||||
|
|
|
@ -3,6 +3,12 @@
|
|||
.SH NAME
|
||||
timew-lengthen \- lengthen intervals
|
||||
|
||||
.SH SYNOPSIS
|
||||
.B timew lengthen
|
||||
.I <id>
|
||||
.B ...
|
||||
.I <duration>
|
||||
|
||||
.TP
|
||||
.B timew lengthen @<id> [@<id> ...] <duration>
|
||||
The 'lengthen' command is used to defer the end date of a closed interval.
|
||||
|
|
|
@ -3,6 +3,15 @@
|
|||
.SH NAME
|
||||
timew-month \- display month chart
|
||||
|
||||
.SH SYNOPSIS
|
||||
.B timew month
|
||||
[
|
||||
.I <range>
|
||||
] [
|
||||
.I <tag>
|
||||
.B ...
|
||||
]
|
||||
|
||||
.TP
|
||||
.B timew month [<interval>] [<tag> ...]
|
||||
The month command shows a chart depicting a single month (current month by
|
||||
|
|
|
@ -3,6 +3,10 @@
|
|||
.SH NAME
|
||||
timew-move \- change interval start-time
|
||||
|
||||
.SH SYNOPSIS
|
||||
.B timew move
|
||||
.I <id> <date>
|
||||
|
||||
.TP
|
||||
.B timew move @<id> <date>
|
||||
The 'move' command is used to reposition an interval at a new start time.
|
||||
|
|
|
@ -3,6 +3,19 @@
|
|||
.SH NAME
|
||||
timew-report \- run an extension report
|
||||
|
||||
.SH SYNOPSIS
|
||||
.B timew
|
||||
[
|
||||
.B report
|
||||
]
|
||||
.I <report>
|
||||
[
|
||||
.I <range>
|
||||
] [
|
||||
.I <tag>
|
||||
.B ...
|
||||
]
|
||||
|
||||
.TP
|
||||
.B timew [report] <report> [<interval>] [<tag> ...]
|
||||
Runs an extension report, and supports filtering data.
|
||||
|
|
|
@ -3,6 +3,12 @@
|
|||
.SH NAME
|
||||
timew-resize \- set interval duration
|
||||
|
||||
.SH SYNOPSIS
|
||||
.B timew resize
|
||||
.I <id>
|
||||
.B ...
|
||||
.I <duration>
|
||||
|
||||
.TP
|
||||
.B timew resize @<id> [@<id> ...] <duration>
|
||||
The 'resize' command is used to change the duration of a closed interval.
|
||||
|
|
|
@ -3,6 +3,12 @@
|
|||
.SH NAME
|
||||
timew-shorten \- shorten intervals
|
||||
|
||||
.SH SYNOPSIS
|
||||
.B timew shorten
|
||||
.I <id>
|
||||
.B ...
|
||||
.I <duration>
|
||||
|
||||
.TP
|
||||
.B timew shorten @<id> [@<id> ...] <duration>
|
||||
The 'shorten' command is used to advance the end date of a closed interval.
|
||||
|
|
|
@ -3,6 +3,9 @@
|
|||
.SH NAME
|
||||
timew-show \- display configuration
|
||||
|
||||
.SH SYNOPSIS
|
||||
.B timew show
|
||||
|
||||
.TP
|
||||
.B timew show
|
||||
Displays the effective configuration in hierarchical form.
|
||||
|
|
|
@ -3,6 +3,11 @@
|
|||
.SH NAME
|
||||
timew-split \- split intervals
|
||||
|
||||
.SH SYNOPSIS
|
||||
.B timew split
|
||||
.I <id>
|
||||
.B ...
|
||||
|
||||
.TP
|
||||
.B timew split @<id> [@<id> ...]
|
||||
Ѕplits an interval into two equally sized adjacent intervals, having the same
|
||||
|
|
|
@ -3,6 +3,15 @@
|
|||
.SH NAME
|
||||
timew-start \- start time tracking
|
||||
|
||||
.SH SYNOPSIS
|
||||
.B timew start
|
||||
[
|
||||
.I <date>
|
||||
] [
|
||||
.I <tag>
|
||||
.B ...
|
||||
]
|
||||
|
||||
.TP
|
||||
.B timew start [<date>] [<tag> ...]
|
||||
Begins tracking using the current time with any specified set of tags.
|
||||
|
|
|
@ -3,6 +3,15 @@
|
|||
.SH NAME
|
||||
timew-stop \- stop time tracking
|
||||
|
||||
.SH SYNOPSIS
|
||||
.B timew stop
|
||||
[
|
||||
.I <date>
|
||||
] [
|
||||
.I <tag>
|
||||
.B ...
|
||||
]
|
||||
|
||||
.TP
|
||||
.B timew stop [<tag> ...]
|
||||
Stops tracking time. If tags are specified, then they are no longer tracked.
|
||||
|
|
|
@ -3,6 +3,15 @@
|
|||
.SH NAME
|
||||
timew-summary \- display a time-tracking summary
|
||||
|
||||
.SH SYNOPSIS
|
||||
.B timew summary
|
||||
[
|
||||
.I <range>
|
||||
] [
|
||||
.I <tag>
|
||||
.B ...
|
||||
]
|
||||
|
||||
.TP
|
||||
.B timew summary [<interval>] [<tag> ...]
|
||||
Displays a report summarizing tracked and untracked time for the current day by
|
||||
|
|
|
@ -3,6 +3,15 @@
|
|||
.SH NAME
|
||||
timew-tag \- add tags to intervals
|
||||
|
||||
.SH SYNOPSIS
|
||||
.B timew tag
|
||||
[
|
||||
.I <id>
|
||||
.B ...
|
||||
]
|
||||
.I <tag>
|
||||
.B ...
|
||||
|
||||
.TP
|
||||
.B timew tag [@<id> ...] <tag> ...
|
||||
The 'tag' command is used to add a tag to an interval. Using the 'summary'
|
||||
|
|
|
@ -3,6 +3,12 @@
|
|||
.SH NAME
|
||||
timew-tags \- display a list of tags
|
||||
|
||||
.SH SYNOPSIS
|
||||
.B timew tags
|
||||
[
|
||||
.I <range>
|
||||
]
|
||||
|
||||
.TP
|
||||
.B timew tags [<interval>] [<tag> ...]
|
||||
Displays all the tags that have been used by default. When a filter is specified,
|
||||
|
|
|
@ -3,6 +3,14 @@
|
|||
.SH NAME
|
||||
timew-track \- add intervals to the database
|
||||
|
||||
.SH SYNOPSIS
|
||||
.B timew track
|
||||
.I <range>
|
||||
[
|
||||
.I <tag>
|
||||
.B ...
|
||||
]
|
||||
|
||||
.TP
|
||||
.B timew track <interval> [<tag> ...]
|
||||
The track command is used to add tracked time in the past. Perhaps you forgot
|
||||
|
|
|
@ -3,6 +3,15 @@
|
|||
.SH NAME
|
||||
timew-untag \- remove tags from intervals
|
||||
|
||||
.SH SYNOPSIS
|
||||
.B timew untag
|
||||
[
|
||||
.I <id>
|
||||
.B ...
|
||||
]
|
||||
.I <tag>
|
||||
.B ...
|
||||
|
||||
.TP
|
||||
.B timew untag [@<id> ...] <tag> ...
|
||||
The 'untag' command is used to remove a tag from an interval. Using the 'summary'
|
||||
|
|
|
@ -3,6 +3,15 @@
|
|||
.SH NAME
|
||||
timew-week \- display week chart
|
||||
|
||||
.SH SYNOPSIS
|
||||
.B timew week
|
||||
[
|
||||
.I <range>
|
||||
] [
|
||||
.I <tag>
|
||||
.B ...
|
||||
]
|
||||
|
||||
.TP
|
||||
.B timew week [<interval>] [<tag> ...]
|
||||
The week command shows a chart depicting a single week (current week by
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue