Docs: Added config command details

This commit is contained in:
Paul Beckingham 2016-05-05 22:08:57 -04:00
parent 5ed0981580
commit 5975d46b8a

View file

@ -26,6 +26,34 @@ there is any active tracking, and if so, shows a summary, and exits with a code
If there is an open interval, closes and abandons it.
See also 'stop'.
.TP
.B timew config [<name> [<value> | '']]
Allows setting and removing configuration values, as an alternative to directly
editing your ~/.timewarrior/timewarrior.cfg file. For example:
$ timew config verbose yes
$ timew config verbose ''
$ timew config verbose
The first command sets 'verbose' to 'yes'. The second sets it to a blank value
which overrides the default value. The third example deletes the 'verbose'
setting.
When modifying configuration in this way, interactive confirmation will be
sought. To override this confirmation, use the ':yes' hint:
$ timew config verbose yes
$ timew config verbose ''
$ timew config verbose :yes
If no arguments are provided, all configuration settings are shown:
$ timew config
verbose = yes
...
See also 'hints'.
.TP
.B timew continue
Resumes tracking the most recently closed interval. For example: