clockify-cli task list

clockify-cli task list

List tasks in a Clockify project

clockify-cli task list [flags]

Examples

$ clockify-cli task list --project special
+--------------------------+----------+--------+
|            ID            |   NAME   | STATUS |
+--------------------------+----------+--------+
| 62aa4eed49445270d7b9666c | Inactive | DONE   |
| 62aa4ee64ebb4f143c8d5225 | Second   | ACTIVE |
| 62aa4ea2c22de9759e6e3a0e | First    | ACTIVE |
+--------------------------+----------+--------+

$ clockify-cli task list --project special --active --quiet
62aa4ee64ebb4f143c8d5225
62aa4ea2c22de9759e6e3a0e

$ clockify-cli task list --project special --name inact --csv
id,name,status
62aa4eed49445270d7b9666c,Inactive,DONE

Options

  -a, --active           display only active tasks
  -v, --csv              print as CSV
  -f, --format string    golang text/template format to be applied on each Client
  -h, --help             help for list
  -j, --json             print as JSON
  -n, --name string      will be used to filter the tag by name
  -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 15-Jun-2024