CLI
cluz version and completion
Print the CLI's version and set up shell completion for bash, zsh, fish or PowerShell.
| Command | What it does |
|---|---|
cluz version | Print the CLI version. |
cluz completion bash | Generate the completion script for bash. |
cluz completion zsh | Generate the completion script for zsh. |
cluz completion fish | Generate the completion script for fish. |
cluz completion powershell | Generate the completion script for PowerShell. |
cluz completion zsh > "${fpath[1]}/_cluz" # zsh
cluz completion bash > /usr/local/etc/bash_completion.d/cluz
cluz completion fish > ~/.config/fish/completions/cluz.fishStart a new shell for the change to take effect. --no-descriptions leaves the descriptions out of the script. Each command's --help has the steps for loading it in the current session.