Merge pull request #810 from umohnani8/kpod_login

Add "kpod login" command
This commit is contained in:
Daniel J Walsh 2017-10-11 09:13:21 -04:00 committed by GitHub
commit 3991a0531c
34 changed files with 1697 additions and 210 deletions

View file

@ -431,6 +431,34 @@ _kpod_load() {
_complete_ "$options_with_args" "$boolean_options"
}
_kpod_login() {
local options_with_args="
--username
-u
--password
-p
--authfile
"
local boolean_options="
--help
-h
"
_complete_ "$options_with_args" "$boolean_options"
}
_kpod_logout() {
local options_with_args="
--authfile
"
local boolean_options="
--all
-a
--help
-h
"
_complete_ "$options_with_args" "$boolean_options"
}
_kpod_kpod() {
local options_with_args="
--config -c
@ -453,6 +481,8 @@ _kpod_kpod() {
inspect
kill
load
login
logout
logs
mount
pause