Add example descriptions

Signed-off-by: Thomas Lauf <thomas.lauf@tngtech.com>
This commit is contained in:
Thomas Lauf 2022-12-28 21:52:48 +01:00
parent bf26176243
commit 30d1ba2b2a

View file

@ -8,10 +8,23 @@ timew-export - export tracked time in JSON
*timew export* [_<id>_**...**] | [[_<range>_] [_<tag>_**...**]]
== DESCRIPTION
Exports all the tracked time in JSON format. Supply either a list of interval IDs (e.g. `@1 @2`), or optional filters (see **timew-ranges(7)** and/or **timew-tags(1)**)
Exports all the tracked time in JSON format.
Supply either a list of interval IDs (e.g. `@1 @2`), or optional filters (see **timew-ranges(7)** and/or **timew-tags(1)**)
== EXAMPLES
For example:
$ timew export from 2016-01-01 for 3wks tag1
$ timew export @1 @3 @7
*Export all intervals*::
```
$ timew export
```
*Export intervals filtered by range and tag*::
```
$ timew export from 2016-01-01 for 3wks tag1
```
*Export intervals by their ids*::
```
$ timew export @1 @3 @7
```