From 9b03cacc87c4d59fc301c21ef73ddc301ec753fb Mon Sep 17 00:00:00 2001 From: baude Date: Sun, 9 Dec 2018 14:26:21 -0600 Subject: Add Play podman play kube adds the ability for the user to recreate pods and containers from a Kubernetes YAML file in libpod. Signed-off-by: baude --- completions/bash/podman | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) (limited to 'completions/bash') diff --git a/completions/bash/podman b/completions/bash/podman index 4702ae0e0..2ce70a1f5 100644 --- a/completions/bash/podman +++ b/completions/bash/podman @@ -895,6 +895,26 @@ _podman_generate() { ;; esac } + +_podman_play() { + 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 @@ -2247,6 +2267,22 @@ _podman_generate_kube() { --service " +_podman_play_kube() { + local options_with_args=" + --authfile + --cert-dir + --creds + --signature-policy + " + + local boolean_options=" + -h + --help + --quiet + -q + --tls-verify + " + _podman_container_runlabel() { local options_with_args=" --authfile @@ -2750,6 +2786,7 @@ _podman_podman() { ps pull push + play restart rm rmi -- cgit v1.2.3-54-g00ecf