Edits a task to done
Edits a task to done, similar to doing task edit <task> --done
clockify-cli task done <task>... [flags]
$ clockify-cli task -p cli ls
+--------------------------+--------+--------+
| ID | NAME | STATUS |
+--------------------------+--------+--------+
| 62adfcc8c22de9759e739d66 | Five | ACTIVE |
| 62adfcc4c22de9759e739d64 | Four | ACTIVE |
| 62adfcb649445270d7becfca | Three | ACTIVE |
| 62adfcb149445270d7becfc8 | Second | ACTIVE |
| 62adfcaa4ebb4f143c92bf8b | First | ACTIVE |
+--------------------------+--------+--------+
$ clockify-cli task -p cli done first second 62adfcb649445270d7becfca
+--------------------------+--------+--------+
| ID | NAME | STATUS |
+--------------------------+--------+--------+
| 62adfcaa4ebb4f143c92bf8b | First | DONE |
| 62adfcb149445270d7becfc8 | Second | DONE |
| 62adfcb649445270d7becfca | Three | DONE |
+--------------------------+--------+--------+
$ clockify-cli task -p cli done four
id,name,status
62adfcc4c22de9759e739d64,Four,DONE
$ clockify-cli task -p cli done five
No active task with id or name containing 'five' was found
-v, --csv print as CSV
-f, --format string golang text/template format to be applied on each Client
-h, --help help for done
-j, --json print as JSON
-p, --project string the name/id of the project to work on
-q, --quiet only display ids
--allow-name-for-id allow use of project/client/tag's name when id is asked
-i, --interactive will prompt you to confirm/complement commands input before executing the action
-L, --interactive-page-size int will set how many items will be shown on interactive mode (default 7)
--log-level string { none | debug | info } set log level (default "none")
-t, --token string clockify's token
Can be generated here: https://clockify.me/user/settings#generateApiKeyBtn
-u, --user-id string user id from the token
-w, --workspace string workspace to be used