summaryrefslogtreecommitdiff
path: root/completions/bash/podman
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2018-12-07 07:46:52 -0800
committerGitHub <noreply@github.com>2018-12-07 07:46:52 -0800
commit49d9a8f9518dd3d38219f5ead6782d4919433cfc (patch)
treeaade825b40e982202a231524543b99181ebd6db7 /completions/bash/podman
parentd4af59d57ce23747b255a466e1970f90d3e687fc (diff)
parentc8436b4912656766df79c37aed3479afe72ca111 (diff)
downloadpodman-49d9a8f9518dd3d38219f5ead6782d4919433cfc.tar.gz
podman-49d9a8f9518dd3d38219f5ead6782d4919433cfc.tar.bz2
podman-49d9a8f9518dd3d38219f5ead6782d4919433cfc.zip
Merge pull request #1928 from baude/podtokube
generate kube
Diffstat (limited to 'completions/bash/podman')
-rw-r--r--completions/bash/podman28
1 files changed, 28 insertions, 0 deletions
diff --git a/completions/bash/podman b/completions/bash/podman
index 3382b6c5a..eab82ec1f 100644
--- a/completions/bash/podman
+++ b/completions/bash/podman
@@ -876,6 +876,25 @@ _podman_container_wait() {
_podman_wait
}
+_podman_generate() {
+ local boolean_options="
+ --help
+ -h
+ "
+ subcommands="
+ kube
+ "
+ __podman_subcommands "$subcommands $aliases" && return
+
+ case "$cur" in
+ -*)
+ COMPREPLY=( $( compgen -W "--help" -- "$cur" ) )
+ ;;
+ *)
+ COMPREPLY=( $( compgen -W "$subcommands" -- "$cur" ) )
+ ;;
+ esac
+}
_podman_container() {
local boolean_options="
--help
@@ -2219,6 +2238,14 @@ _podman_logout() {
_complete_ "$options_with_args" "$boolean_options"
}
+_podman_generate_kube() {
+ local options_with_args=""
+
+ local boolean_options="
+ -s
+ --service
+ "
+
_podman_container_runlabel() {
local options_with_args="
--authfile
@@ -2702,6 +2729,7 @@ _podman_podman() {
diff
exec
export
+ generate
history
images
import