1OPENSHIFT(1)                       June 2016                      OPENSHIFT(1)
2
3
4

NAME

6       openshift  completion  - Output shell completion code for the specified
7       shell (bash or zsh)
8
9
10

SYNOPSIS

12       openshift completion [OPTIONS]
13
14
15

DESCRIPTION

17       This command prints shell code  which  must  be  evaluated  to  provide
18       interactive completion of openshift commands.
19
20
21

OPTIONS INHERITED FROM PARENT COMMANDS

23       --azure-container-registry-config=""
24           Path  to the file containing Azure container registry configuration
25       information.
26
27
28       --log-flush-frequency=0
29           Maximum number of seconds between log flushes
30
31
32       --version=false
33           Print version information and quit
34
35
36

EXAMPLE

38                # Generate the openshift completion code for bash
39                openshift completion bash > bash_completion.sh
40                source bash_completion.sh
41
42                # The above example depends on the bash-completion framework.
43                # It must be sourced before sourcing the openshift cli completion,
44                # i.e. on the Mac:
45
46                brew install bash-completion
47                source $(brew --prefix)/etc/bash_completion
48                openshift completion bash > bash_completion.sh
49                source bash_completion.sh
50
51                # In zsh*, the following will load openshift cli zsh completion:
52                source <(openshift completion zsh)
53
54                * zsh completions are only supported in versions of zsh >= 5.2
55
56
57
58

SEE ALSO

60       openshift(1),
61
62
63

HISTORY

65       June 2016, Ported from the Kubernetes man-doc generator
66
67
68
69Openshift                  Openshift CLI User Manuals             OPENSHIFT(1)
Impressum