diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2018-12-07 07:46:52 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-07 07:46:52 -0800 |
commit | 49d9a8f9518dd3d38219f5ead6782d4919433cfc (patch) | |
tree | aade825b40e982202a231524543b99181ebd6db7 /completions/bash | |
parent | d4af59d57ce23747b255a466e1970f90d3e687fc (diff) | |
parent | c8436b4912656766df79c37aed3479afe72ca111 (diff) | |
download | podman-49d9a8f9518dd3d38219f5ead6782d4919433cfc.tar.gz podman-49d9a8f9518dd3d38219f5ead6782d4919433cfc.tar.bz2 podman-49d9a8f9518dd3d38219f5ead6782d4919433cfc.zip |
Merge pull request #1928 from baude/podtokube
generate kube
Diffstat (limited to 'completions/bash')
-rw-r--r-- | completions/bash/podman | 28 |
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 |