clockify-cli completion

clockify-cli completion

Generate completion script

Synopsis

To load completions for every session, execute once:

Linux (Bash):

$ clockify-cli completion bash > /etc/bash_cmdcompl.d/clockify-cli

Linux (Shell):

$ clockify-cli completion bash > /etc/bash_cmdcompl.d/clockify-cli

MacOS:

$ clockify-cli completion bash > /usr/local/etc/bash_cmdcompl.d/clockify-cli

Zsh:

To load completions for each session, add this line to your ~/.zshrc:

source <(clockify-cli completion zsh)

You will need to start a new shell for this setup to take effect.

Fish:

To load completions for each session, execute once:

$ clockify-cli completion fish > ~/.config/fish/completions/clockify-cli.fish
clockify-cli completion { bash | zsh | fish | powershell }

Options

  -h, --help   help for completion

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

  • clockify-cli - Allow to integrate with Clockify through terminal
Auto generated by spf13/cobra on 15-Jun-2024