Implement timetrace edit record
command
#19
Labels
documentation
Improvements or additions to documentation
enhancement
New feature or request
help wanted
Extra attention is needed
Just as projects are editable via
timetrace edit project
, records should be editable usingtimetrace edit record
. The command syntax should look just like the syntax oftimetrace get record
:edit
without any options should open the default editor to directly edit the record file (seeedit project
).edit
with options should load the record internally, apply the option values and save the record. The supported options are explained below.Command options
--plus
-p
--add 10m
--minus
-m
--minus 10m
Those options probably aren't too hard to implement if the durations can be parsed as
time.Duration
. In that case, calling something likerecord.End.Add(plus)
should be sufficient.The text was updated successfully, but these errors were encountered: