mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
36 lines
629 B
Plaintext
36 lines
629 B
Plaintext
[id="osdk-cli-reference-completion_{context}"]
|
|
= completion
|
|
|
|
The `operator-sdk completion` command generates shell completions to make
|
|
issuing CLI commands quicker and easier.
|
|
|
|
.`completion` subcommands
|
|
[options="header",cols="1,3"]
|
|
|===
|
|
|Subcommand |Description
|
|
|
|
|`bash`
|
|
|Generate bash completions.
|
|
|
|
|`zsh`
|
|
|Generate zsh completions.
|
|
|===
|
|
|
|
.`completion` flags
|
|
[options="header",cols="1,3"]
|
|
|===
|
|
|Flag |Description
|
|
|
|
|`-h, --help`
|
|
|Usage help output.
|
|
|===
|
|
|
|
.Example output
|
|
----
|
|
$ operator-sdk completion bash
|
|
|
|
# bash completion for operator-sdk -*- shell-script -*-
|
|
...
|
|
# ex: ts=4 sw=4 et filetype=sh
|
|
----
|