From e8a32e3722e0b814c654cdb8809565a21fc120d3 Mon Sep 17 00:00:00 2001 From: baude Date: Tue, 28 Nov 2017 16:25:01 -0600 Subject: 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 --- completions/bash/kpod | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'completions') 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 -- cgit v1.2.3-54-g00ecf