openshift-completion man page
openshift completion — Output shell completion code for the specified shell (bash or zsh)
openshift completion [OPTIONS]
This command prints shell code which must be evaluated to provide interactive completion of openshift commands.
Options Inherited from Parent Commands
Path to the file container Azure container registry configuration information.
The Google Cloud Platform Service Account JSON Key to use for authentication.
Maximum number of seconds between log flushes
# Generate the openshift completion code for bash openshift completion bash > bash_completion.sh source bash_completion.sh # The above example depends on the bash-completion framework. # It must be sourced before sourcing the openshift cli completion, # i.e. on the Mac: brew install bash-completion source $(brew --prefix)/etc/bash_completion openshift completion bash > bash_completion.sh source bash_completion.sh # In zsh*, the following will load openshift cli zsh completion: source <(openshift completion zsh) * zsh completions are only supported in versions of zsh >= 5.2
June 2016, Ported from the Kubernetes man-doc generator