-
Notifications
You must be signed in to change notification settings - Fork 0
com amend
wdc amend
- Edit existing tasks
wdc amend TASK_ID [-s|--start START_TIME] [-t|--tag TAG...] [-m|--messages MESSAGE] [-e|--end END_TIME] [-d|--date DATE]
The amend command will only edit task parameters provided. Parameters that should not be changes should not be provided.
If for instance you do not want to edit the task message then do not provide a new one. This will preserve the existing message.
TASK_ID
The internal task ID.
NOTE: This ID is system internal and is not entered by the used. The only way to get the ID currently is by using one of the following commands:
list
info
-s, --start
The new start time of the previously logged task
-t, --tag
A tag to be associated with the work task.
This is useful to associate the task with an external ID (ticketing system, time booking, bug ID,...)
NOTE: multiple tags can be provided by repeating the option multiple times
NOTE: Specifying tags will not add them to the existing but will instead replace the existing ones
-m, --message
A message to be associated with the task. Used for storing notes or short summaries of the work done.
-e, --end
An optional time at which this task was finished
-d, --date
The date on which this task was undertaken.
If no value is provided then today is assumed
Change the message of the task with ID cf11235
$ wdc amend cd11235 -m 'The new task message'
Change the tags associated tags for the task with task ID cf11235
$ wdc amend cd11235 -t new_tag_1 -t new_tag_2
Set multiple parameters for task cf11235
$ wdc amend cd11235 -t new_tag_1 -t new_tag_2 -m 'This is better' -e 1630