1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-07 00:48:01 +01:00
Files
openshift-docs/modules/osdk-cli-reference-completion.adoc

42 lines
689 B
Plaintext
Raw Normal View History

2019-05-13 08:55:00 +10:00
[id="osdk-cli-reference-completion_{context}"]
2018-11-20 09:27:37 -05:00
= 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.
|===
For example:
[source,terminal]
2018-11-20 09:27:37 -05:00
----
$ operator-sdk completion bash
----
2018-11-20 09:27:37 -05:00
.Example output
[source,terminal]
----
2018-11-20 09:27:37 -05:00
# bash completion for operator-sdk -*- shell-script -*-
...
# ex: ts=4 sw=4 et filetype=sh
----