summaryrefslogtreecommitdiff
path: root/completions/bash
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2017-11-28 16:25:01 -0600
committerbaude <bbaude@redhat.com>2017-12-11 08:24:30 -0600
commite8a32e3722e0b814c654cdb8809565a21fc120d3 (patch)
tree8b88407b645e9403f4fc7ebf2e4d62bc34785a20 /completions/bash
parent8d31ec2ad775c97c4b860eb24a3481092b6e88e3 (diff)
downloadpodman-e8a32e3722e0b814c654cdb8809565a21fc120d3.tar.gz
podman-e8a32e3722e0b814c654cdb8809565a21fc120d3.tar.bz2
podman-e8a32e3722e0b814c654cdb8809565a21fc120d3.zip
kpod exec
Initial wiring of kpod exec. We wont support the following options for exec: * detach -- unsure of use case * detach-keys -- not supported by runc * interactive -- all terminals will be interactive Not adding exec tests as we need to think about how to support a test that requires console access but our CI tests have no console. Signed-off-by: baude <bbaude@redhat.com>
Diffstat (limited to 'completions/bash')
-rw-r--r--completions/bash/kpod16
1 files changed, 16 insertions, 0 deletions
diff --git a/completions/bash/kpod b/completions/bash/kpod
index a5da95a3e..6c66c63c0 100644
--- a/completions/bash/kpod
+++ b/completions/bash/kpod
@@ -682,6 +682,21 @@ _kpod_diff() {
esac
}
+_kpod_exec() {
+ local options_with_args="
+ -e
+ --env
+ --user
+ -u
+ "
+ local boolean_options="
+ --privileged
+ --tty
+ -t
+ "
+ _complete_ "$options_with_args" "$boolean_options"
+
+}
_kpod_export() {
local options_with_args="
--output
@@ -1437,6 +1452,7 @@ _kpod_kpod() {
attach
create
diff
+ exec
export
history
images