clockify-cli client list

clockify-cli client list

List clients from a Clockify workspace

clockify-cli client list [flags]

Examples

$ clockify-cli client list
+--------------------------+----------+----------+
|            ID            |   NAME   | ARCHIVED |
+--------------------------+----------+----------+
| 6202634a28782767054eec26 | Client 1 | NO       |
| 62964b36bb48532a70730dbe | Client 2 | YES      |
+--------------------------+----------+----------+

$ clockify-cli client list --archived --csv
62964b36bb48532a70730dbe,Client 2,true

$ clockify-cli client list --not-archived --format "<{{ .Name }}>"
<Client 1>

$ clockify-cli client list --name "1" --quiet
6202634a28782767054eec26

Options

      --archived        list only archived projects
  -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
      --not-archived    list only active projects
  -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