Add 'kpod export' command

kpod export exports the container's filesystem to a tar archive

Signed-off-by: umohnani8 <umohnani@redhat.com>
This commit is contained in:
umohnani8 2017-08-07 10:30:10 -04:00
parent efce63bdf2
commit be8ba17534
5 changed files with 196 additions and 0 deletions

View file

@ -140,6 +140,15 @@ _kpod_save() {
_complete_ "$options_with_args" "$boolean_options"
}
_kpod_export() {
local options_with_args="
--output -o
"
local boolean_options="
"
_complete_ "$options_with_args" "$boolean_options"
}
_complete_() {
local options_with_args=$1
local boolean_options="$2 -h --help"