Generate shell completion scripts
Generate shell completion scripts for kh. Source the output in your shell profile to enable tab completion for all kh commands and flags.
See also: kh help environment
kh completion <shell> [flags]
# Generate zsh completions
kh completion zsh > ~/.zsh/completions/_kh
# Generate bash completions
kh completion bash > /etc/bash_completion.d/kh
-h, --help help for completion
-H, --host string KeeperHub host (default: app.keeperhub.com)
--jq string Filter JSON output with a jq expression
--json Output as JSON
--no-color Disable color output
-y, --yes Skip confirmation prompts
- kh - KeeperHub CLI