clockify-cli task quick-add

clockify-cli task quick-add

Adds tasks to a project on Clockify

Synopsis

Adds a new active tasks to a project on Clockify, but only allow setting their names.

clockify-cli task quick-add <name>... [flags]

Examples

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

$ clockify-cli task quick-add -p special "Very Cool" -q
dddddddddddddddddddddddd

$ clockify-cli task quick-add -p special Billable "Not Billable" --csv
id,name,status
62ab145ec22de9759e6f6e35,Billable,ACTIVE
62ab145ec22de9759e6f6e36,Not Billable,ACTIVE

Options

  -v, --csv              print as CSV
  -f, --format string    golang text/template format to be applied on each Client
  -h, --help             help for quick-add
  -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