Docs
CLI

cluz version and completion

Print the CLI's version and set up shell completion for bash, zsh, fish or PowerShell.

CommandWhat it does
cluz versionPrint the CLI version.
cluz completion bashGenerate the completion script for bash.
cluz completion zshGenerate the completion script for zsh.
cluz completion fishGenerate the completion script for fish.
cluz completion powershellGenerate 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.fish

Start 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.