OPENSHIFT(1)

NAME

openshift completion - Output shell completion code for the given shell (bash or zsh)

SYNOPSIS

openshift completion [OPTIONS]

DESCRIPTION

This command prints shell code which must be evaluated to provide interactive completion of openshift commands.

OPTIONS INHERITED FROM PARENT COMMANDS

--google-json-key=""
    The Google Cloud Platform Service Account JSON Key to use for authentication.

--log-flush-frequency=0
    Maximum number of seconds between log flushes

EXAMPLE

      # 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

SEE ALSO

openshift(1),

HISTORY

June 2016, Ported from the Kubernetes man-doc generator