Generate completion script
To load completions for every session, execute once:
$ clockify-cli completion bash > /etc/bash_cmdcompl.d/clockify-cli
$ clockify-cli completion bash > /etc/bash_cmdcompl.d/clockify-cli
$ clockify-cli completion bash > /usr/local/etc/bash_cmdcompl.d/clockify-cli
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.
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 }
-h, --help help for completion
--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