Output shell completion code
This command prints shell completion code which needs to be evaluated to provide interactive completion
Supported Shells:
- bash
- zsh
kn completion [SHELL] [flags]
# Generate completion code for bash
source <(kn completion bash)
# Generate completion code for zsh
source <(kn completion zsh)
-h, --help help for completion
--config string kn config file (default is ~/.config/kn/config.yaml)
--kubeconfig string kubectl config file (default is ~/.kube/config)
--log-http log http traffic
- kn - Knative client