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 containing Azure container registry configuration information.
Maximum number of seconds between log flushes
Print version information and quit
# 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