clockify-cli task delete

clockify-cli task delete

Deletes a task from a project on Clockify

Synopsis

Deletes a task from a project on Clockify This action can’t be reverted, and all time entries using this task will revert to not having one

clockify-cli task delete <task> [flags]

Examples

$ clockify-cli task delete -p "special" very
+--------------------------+----------------+--------+
|            ID            |      NAME      | STATUS |
+--------------------------+----------------+--------+
| 62aa5d7049445270d7b979d6 | Very Important | ACTIVE |
+--------------------------+----------------+--------+

$ clockify-cli task delete -p "special" 62aa4eed49445270d7b9666c
+--------------------------+----------+--------+
|            ID            |   NAME   | STATUS |
+--------------------------+----------+--------+
| 62aa4eed49445270d7b9666c | Inactive | DONE   |
+--------------------------+----------+--------+

$ clockify-cli task delete -p "special" 62aa4eed49445270d7b9666c
No task with id or name containing '62aa4eed49445270d7b9666c' was found

Options

  -v, --csv              print as CSV
  -f, --format string    golang text/template format to be applied on each Client
  -h, --help             help for delete
  -j, --json             print as JSON
  -p, --project string   the name/id of the project to work on
  -q, --quiet            only display ids

Options inherited from parent commands

      --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

SEE ALSO

Auto generated by spf13/cobra on 29-Mar-2024