clockify-cli project get

clockify-cli project get

Get a project on a Clockify workspace

clockify-cli project get [flags]

Examples

$ clockify-cli project get 621948458cb9606d934ebb1c
+--------------------------+-------------------+-----------------------------------------+
|            ID            |       NAME        |                 CLIENT                  |
+--------------------------+-------------------+-----------------------------------------+
| 621948458cb9606d934ebb1c | Clockify Cli      | Special (6202634a28782767054eec26)      |
+--------------------------+-------------------+-----------------------------------------+

$ clockify-cli project get cli -q
621948458cb9606d934ebb1c

$ clockify-cli project get other --format '{{.Name}} - {{ .Color }} | {{ .ClientID }}'
Other - #03A9F4 | 6202634a28782767054eec26

Options

  -v, --csv             print as CSV
  -f, --format string   golang text/template format to be applied on each Project
  -h, --help            help for get
  -H, --hydrated        projects will have custom fields, tasks and memberships filled for json and format outputs
  -j, --json            print as JSON
  -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