_ordinary() {
local i cur prev opts cmd
COMPREPLY=()
if [[ "${BASH_VERSINFO[0]}" -ge 4 ]]; then
cur="$2"
else
cur="${COMP_WORDS[COMP_CWORD]}"
fi
prev="$3"
cmd=""
opts=""
for i in "${COMP_WORDS[@]:0:COMP_CWORD}"
do
case "${cmd},${i}" in
",$1")
cmd="ordinary"
;;
ordinary,accounts)
cmd="ordinary__accounts"
;;
ordinary,actions)
cmd="ordinary__actions"
;;
ordinary,app)
cmd="ordinary__app"
;;
ordinary,assets)
cmd="ordinary__assets"
;;
ordinary,build)
cmd="ordinary__build"
;;
ordinary,content)
cmd="ordinary__content"
;;
ordinary,doctor)
cmd="ordinary__doctor"
;;
ordinary,help)
cmd="ordinary__help"
;;
ordinary,integrations)
cmd="ordinary__integrations"
;;
ordinary,models)
cmd="ordinary__models"
;;
ordinary,new)
cmd="ordinary__new"
;;
ordinary,publish)
cmd="ordinary__publish"
;;
ordinary,secrets)
cmd="ordinary__secrets"
;;
ordinary,templates)
cmd="ordinary__templates"
;;
ordinary__accounts,access)
cmd="ordinary__accounts__access"
;;
ordinary__accounts,current)
cmd="ordinary__accounts__current"
;;
ordinary__accounts,help)
cmd="ordinary__accounts__help"
;;
ordinary__accounts,invite)
cmd="ordinary__accounts__invite"
;;
ordinary__accounts,list)
cmd="ordinary__accounts__list"
;;
ordinary__accounts,login)
cmd="ordinary__accounts__login"
;;
ordinary__accounts,logout)
cmd="ordinary__accounts__logout"
;;
ordinary__accounts,mfa)
cmd="ordinary__accounts__mfa"
;;
ordinary__accounts,password)
cmd="ordinary__accounts__password"
;;
ordinary__accounts,recovery-codes)
cmd="ordinary__accounts__recovery__codes"
;;
ordinary__accounts,register)
cmd="ordinary__accounts__register"
;;
ordinary__accounts,switch)
cmd="ordinary__accounts__switch"
;;
ordinary__accounts__access,get)
cmd="ordinary__accounts__access__get"
;;
ordinary__accounts__access,help)
cmd="ordinary__accounts__access__help"
;;
ordinary__accounts__access__help,get)
cmd="ordinary__accounts__access__help__get"
;;
ordinary__accounts__access__help,help)
cmd="ordinary__accounts__access__help__help"
;;
ordinary__accounts__help,access)
cmd="ordinary__accounts__help__access"
;;
ordinary__accounts__help,current)
cmd="ordinary__accounts__help__current"
;;
ordinary__accounts__help,help)
cmd="ordinary__accounts__help__help"
;;
ordinary__accounts__help,invite)
cmd="ordinary__accounts__help__invite"
;;
ordinary__accounts__help,list)
cmd="ordinary__accounts__help__list"
;;
ordinary__accounts__help,login)
cmd="ordinary__accounts__help__login"
;;
ordinary__accounts__help,logout)
cmd="ordinary__accounts__help__logout"
;;
ordinary__accounts__help,mfa)
cmd="ordinary__accounts__help__mfa"
;;
ordinary__accounts__help,password)
cmd="ordinary__accounts__help__password"
;;
ordinary__accounts__help,recovery-codes)
cmd="ordinary__accounts__help__recovery__codes"
;;
ordinary__accounts__help,register)
cmd="ordinary__accounts__help__register"
;;
ordinary__accounts__help,switch)
cmd="ordinary__accounts__help__switch"
;;
ordinary__accounts__help__access,get)
cmd="ordinary__accounts__help__access__get"
;;
ordinary__accounts__help__mfa,lost)
cmd="ordinary__accounts__help__mfa__lost"
;;
ordinary__accounts__help__mfa,reset)
cmd="ordinary__accounts__help__mfa__reset"
;;
ordinary__accounts__help__password,forgot)
cmd="ordinary__accounts__help__password__forgot"
;;
ordinary__accounts__help__password,reset)
cmd="ordinary__accounts__help__password__reset"
;;
ordinary__accounts__help__recovery__codes,reset)
cmd="ordinary__accounts__help__recovery__codes__reset"
;;
ordinary__accounts__mfa,help)
cmd="ordinary__accounts__mfa__help"
;;
ordinary__accounts__mfa,lost)
cmd="ordinary__accounts__mfa__lost"
;;
ordinary__accounts__mfa,reset)
cmd="ordinary__accounts__mfa__reset"
;;
ordinary__accounts__mfa__help,help)
cmd="ordinary__accounts__mfa__help__help"
;;
ordinary__accounts__mfa__help,lost)
cmd="ordinary__accounts__mfa__help__lost"
;;
ordinary__accounts__mfa__help,reset)
cmd="ordinary__accounts__mfa__help__reset"
;;
ordinary__accounts__password,forgot)
cmd="ordinary__accounts__password__forgot"
;;
ordinary__accounts__password,help)
cmd="ordinary__accounts__password__help"
;;
ordinary__accounts__password,reset)
cmd="ordinary__accounts__password__reset"
;;
ordinary__accounts__password__help,forgot)
cmd="ordinary__accounts__password__help__forgot"
;;
ordinary__accounts__password__help,help)
cmd="ordinary__accounts__password__help__help"
;;
ordinary__accounts__password__help,reset)
cmd="ordinary__accounts__password__help__reset"
;;
ordinary__accounts__recovery__codes,help)
cmd="ordinary__accounts__recovery__codes__help"
;;
ordinary__accounts__recovery__codes,reset)
cmd="ordinary__accounts__recovery__codes__reset"
;;
ordinary__accounts__recovery__codes__help,help)
cmd="ordinary__accounts__recovery__codes__help__help"
;;
ordinary__accounts__recovery__codes__help,reset)
cmd="ordinary__accounts__recovery__codes__help__reset"
;;
ordinary__actions,add)
cmd="ordinary__actions__add"
;;
ordinary__actions,help)
cmd="ordinary__actions__help"
;;
ordinary__actions,install)
cmd="ordinary__actions__install"
;;
ordinary__actions__help,add)
cmd="ordinary__actions__help__add"
;;
ordinary__actions__help,help)
cmd="ordinary__actions__help__help"
;;
ordinary__actions__help,install)
cmd="ordinary__actions__help__install"
;;
ordinary__app,accounts)
cmd="ordinary__app__accounts"
;;
ordinary__app,deploy)
cmd="ordinary__app__deploy"
;;
ordinary__app,download)
cmd="ordinary__app__download"
;;
ordinary__app,help)
cmd="ordinary__app__help"
;;
ordinary__app,kill)
cmd="ordinary__app__kill"
;;
ordinary__app,logs)
cmd="ordinary__app__logs"
;;
ordinary__app,migrate)
cmd="ordinary__app__migrate"
;;
ordinary__app,patch)
cmd="ordinary__app__patch"
;;
ordinary__app,restart)
cmd="ordinary__app__restart"
;;
ordinary__app__accounts,help)
cmd="ordinary__app__accounts__help"
;;
ordinary__app__accounts,list)
cmd="ordinary__app__accounts__list"
;;
ordinary__app__accounts__help,help)
cmd="ordinary__app__accounts__help__help"
;;
ordinary__app__accounts__help,list)
cmd="ordinary__app__accounts__help__list"
;;
ordinary__app__help,accounts)
cmd="ordinary__app__help__accounts"
;;
ordinary__app__help,deploy)
cmd="ordinary__app__help__deploy"
;;
ordinary__app__help,download)
cmd="ordinary__app__help__download"
;;
ordinary__app__help,help)
cmd="ordinary__app__help__help"
;;
ordinary__app__help,kill)
cmd="ordinary__app__help__kill"
;;
ordinary__app__help,logs)
cmd="ordinary__app__help__logs"
;;
ordinary__app__help,migrate)
cmd="ordinary__app__help__migrate"
;;
ordinary__app__help,patch)
cmd="ordinary__app__help__patch"
;;
ordinary__app__help,restart)
cmd="ordinary__app__help__restart"
;;
ordinary__app__help__accounts,list)
cmd="ordinary__app__help__accounts__list"
;;
ordinary__assets,help)
cmd="ordinary__assets__help"
;;
ordinary__assets,write)
cmd="ordinary__assets__write"
;;
ordinary__assets__help,help)
cmd="ordinary__assets__help__help"
;;
ordinary__assets__help,write)
cmd="ordinary__assets__help__write"
;;
ordinary__content,definition)
cmd="ordinary__content__definition"
;;
ordinary__content,help)
cmd="ordinary__content__help"
;;
ordinary__content,object)
cmd="ordinary__content__object"
;;
ordinary__content,update)
cmd="ordinary__content__update"
;;
ordinary__content__definition,add)
cmd="ordinary__content__definition__add"
;;
ordinary__content__definition,help)
cmd="ordinary__content__definition__help"
;;
ordinary__content__definition__help,add)
cmd="ordinary__content__definition__help__add"
;;
ordinary__content__definition__help,help)
cmd="ordinary__content__definition__help__help"
;;
ordinary__content__help,definition)
cmd="ordinary__content__help__definition"
;;
ordinary__content__help,help)
cmd="ordinary__content__help__help"
;;
ordinary__content__help,object)
cmd="ordinary__content__help__object"
;;
ordinary__content__help,update)
cmd="ordinary__content__help__update"
;;
ordinary__content__help__definition,add)
cmd="ordinary__content__help__definition__add"
;;
ordinary__content__help__object,add)
cmd="ordinary__content__help__object__add"
;;
ordinary__content__object,add)
cmd="ordinary__content__object__add"
;;
ordinary__content__object,help)
cmd="ordinary__content__object__help"
;;
ordinary__content__object__help,add)
cmd="ordinary__content__object__help__add"
;;
ordinary__content__object__help,help)
cmd="ordinary__content__object__help__help"
;;
ordinary__help,accounts)
cmd="ordinary__help__accounts"
;;
ordinary__help,actions)
cmd="ordinary__help__actions"
;;
ordinary__help,app)
cmd="ordinary__help__app"
;;
ordinary__help,assets)
cmd="ordinary__help__assets"
;;
ordinary__help,build)
cmd="ordinary__help__build"
;;
ordinary__help,content)
cmd="ordinary__help__content"
;;
ordinary__help,doctor)
cmd="ordinary__help__doctor"
;;
ordinary__help,help)
cmd="ordinary__help__help"
;;
ordinary__help,integrations)
cmd="ordinary__help__integrations"
;;
ordinary__help,models)
cmd="ordinary__help__models"
;;
ordinary__help,new)
cmd="ordinary__help__new"
;;
ordinary__help,publish)
cmd="ordinary__help__publish"
;;
ordinary__help,secrets)
cmd="ordinary__help__secrets"
;;
ordinary__help,templates)
cmd="ordinary__help__templates"
;;
ordinary__help__accounts,access)
cmd="ordinary__help__accounts__access"
;;
ordinary__help__accounts,current)
cmd="ordinary__help__accounts__current"
;;
ordinary__help__accounts,invite)
cmd="ordinary__help__accounts__invite"
;;
ordinary__help__accounts,list)
cmd="ordinary__help__accounts__list"
;;
ordinary__help__accounts,login)
cmd="ordinary__help__accounts__login"
;;
ordinary__help__accounts,logout)
cmd="ordinary__help__accounts__logout"
;;
ordinary__help__accounts,mfa)
cmd="ordinary__help__accounts__mfa"
;;
ordinary__help__accounts,password)
cmd="ordinary__help__accounts__password"
;;
ordinary__help__accounts,recovery-codes)
cmd="ordinary__help__accounts__recovery__codes"
;;
ordinary__help__accounts,register)
cmd="ordinary__help__accounts__register"
;;
ordinary__help__accounts,switch)
cmd="ordinary__help__accounts__switch"
;;
ordinary__help__accounts__access,get)
cmd="ordinary__help__accounts__access__get"
;;
ordinary__help__accounts__mfa,lost)
cmd="ordinary__help__accounts__mfa__lost"
;;
ordinary__help__accounts__mfa,reset)
cmd="ordinary__help__accounts__mfa__reset"
;;
ordinary__help__accounts__password,forgot)
cmd="ordinary__help__accounts__password__forgot"
;;
ordinary__help__accounts__password,reset)
cmd="ordinary__help__accounts__password__reset"
;;
ordinary__help__accounts__recovery__codes,reset)
cmd="ordinary__help__accounts__recovery__codes__reset"
;;
ordinary__help__actions,add)
cmd="ordinary__help__actions__add"
;;
ordinary__help__actions,install)
cmd="ordinary__help__actions__install"
;;
ordinary__help__app,accounts)
cmd="ordinary__help__app__accounts"
;;
ordinary__help__app,deploy)
cmd="ordinary__help__app__deploy"
;;
ordinary__help__app,download)
cmd="ordinary__help__app__download"
;;
ordinary__help__app,kill)
cmd="ordinary__help__app__kill"
;;
ordinary__help__app,logs)
cmd="ordinary__help__app__logs"
;;
ordinary__help__app,migrate)
cmd="ordinary__help__app__migrate"
;;
ordinary__help__app,patch)
cmd="ordinary__help__app__patch"
;;
ordinary__help__app,restart)
cmd="ordinary__help__app__restart"
;;
ordinary__help__app__accounts,list)
cmd="ordinary__help__app__accounts__list"
;;
ordinary__help__assets,write)
cmd="ordinary__help__assets__write"
;;
ordinary__help__content,definition)
cmd="ordinary__help__content__definition"
;;
ordinary__help__content,object)
cmd="ordinary__help__content__object"
;;
ordinary__help__content,update)
cmd="ordinary__help__content__update"
;;
ordinary__help__content__definition,add)
cmd="ordinary__help__content__definition__add"
;;
ordinary__help__content__object,add)
cmd="ordinary__help__content__object__add"
;;
ordinary__help__integrations,add)
cmd="ordinary__help__integrations__add"
;;
ordinary__help__models,add)
cmd="ordinary__help__models__add"
;;
ordinary__help__models,items)
cmd="ordinary__help__models__items"
;;
ordinary__help__models__items,list)
cmd="ordinary__help__models__items__list"
;;
ordinary__help__secrets,store)
cmd="ordinary__help__secrets__store"
;;
ordinary__help__templates,add)
cmd="ordinary__help__templates__add"
;;
ordinary__help__templates,upload)
cmd="ordinary__help__templates__upload"
;;
ordinary__integrations,add)
cmd="ordinary__integrations__add"
;;
ordinary__integrations,help)
cmd="ordinary__integrations__help"
;;
ordinary__integrations__help,add)
cmd="ordinary__integrations__help__add"
;;
ordinary__integrations__help,help)
cmd="ordinary__integrations__help__help"
;;
ordinary__models,add)
cmd="ordinary__models__add"
;;
ordinary__models,help)
cmd="ordinary__models__help"
;;
ordinary__models,items)
cmd="ordinary__models__items"
;;
ordinary__models__help,add)
cmd="ordinary__models__help__add"
;;
ordinary__models__help,help)
cmd="ordinary__models__help__help"
;;
ordinary__models__help,items)
cmd="ordinary__models__help__items"
;;
ordinary__models__help__items,list)
cmd="ordinary__models__help__items__list"
;;
ordinary__models__items,help)
cmd="ordinary__models__items__help"
;;
ordinary__models__items,list)
cmd="ordinary__models__items__list"
;;
ordinary__models__items__help,help)
cmd="ordinary__models__items__help__help"
;;
ordinary__models__items__help,list)
cmd="ordinary__models__items__help__list"
;;
ordinary__secrets,help)
cmd="ordinary__secrets__help"
;;
ordinary__secrets,store)
cmd="ordinary__secrets__store"
;;
ordinary__secrets__help,help)
cmd="ordinary__secrets__help__help"
;;
ordinary__secrets__help,store)
cmd="ordinary__secrets__help__store"
;;
ordinary__templates,add)
cmd="ordinary__templates__add"
;;
ordinary__templates,help)
cmd="ordinary__templates__help"
;;
ordinary__templates,upload)
cmd="ordinary__templates__upload"
;;
ordinary__templates__help,add)
cmd="ordinary__templates__help__add"
;;
ordinary__templates__help,help)
cmd="ordinary__templates__help__help"
;;
ordinary__templates__help,upload)
cmd="ordinary__templates__help__upload"
;;
*)
;;
esac
done
case "${cmd}" in
ordinary)
opts="-p -v -q -h -V --project --api-domain --insecure --danger-accept-invalid-certs --verbose --quiet --pretty --help --version new build publish templates content assets models actions integrations accounts app secrets doctor help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
--project)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
-p)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--api-domain)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__accounts)
opts="-p -v -q -h -V --project --api-domain --insecure --danger-accept-invalid-certs --verbose --quiet --pretty --help --version register login logout access password mfa recovery-codes invite current list switch help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
--project)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
-p)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--api-domain)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__accounts__access)
opts="-p -v -q -h -V --project --api-domain --insecure --danger-accept-invalid-certs --verbose --quiet --pretty --help --version get help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
--project)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
-p)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--api-domain)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__accounts__access__get)
opts="-m -p -v -q -h -V --min --project --api-domain --insecure --danger-accept-invalid-certs --verbose --quiet --pretty --help --version"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
--min)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
-m)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--project)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
-p)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--api-domain)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__accounts__access__help)
opts="get help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__accounts__access__help__get)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__accounts__access__help__help)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__accounts__current)
opts="-p -v -q -h -V --project --api-domain --insecure --danger-accept-invalid-certs --verbose --quiet --pretty --help --version"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
--project)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
-p)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--api-domain)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__accounts__help)
opts="register login logout access password mfa recovery-codes invite current list switch help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__accounts__help__access)
opts="get"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__accounts__help__access__get)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__accounts__help__current)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__accounts__help__help)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__accounts__help__invite)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__accounts__help__list)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__accounts__help__login)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__accounts__help__logout)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__accounts__help__mfa)
opts="reset lost"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__accounts__help__mfa__lost)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__accounts__help__mfa__reset)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__accounts__help__password)
opts="reset forgot"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__accounts__help__password__forgot)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__accounts__help__password__reset)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__accounts__help__recovery__codes)
opts="reset"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__accounts__help__recovery__codes__reset)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__accounts__help__register)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__accounts__help__switch)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__accounts__invite)
opts="-p -v -q -h -V --project --api-domain --insecure --danger-accept-invalid-certs --verbose --quiet --pretty --help --version <ACCOUNT> <DOMAIN> admin read write update upload install deploy bridge kill erase"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
--project)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
-p)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--api-domain)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__accounts__list)
opts="-p -v -q -h -V --project --api-domain --insecure --danger-accept-invalid-certs --verbose --quiet --pretty --help --version"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
--project)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
-p)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--api-domain)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__accounts__login)
opts="-p -v -q -h -V --password --mfa --project --api-domain --insecure --danger-accept-invalid-certs --verbose --quiet --pretty --help --version <HOST> <ACCOUNT>"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
--password)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--mfa)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--project)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
-p)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--api-domain)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__accounts__logout)
opts="-p -v -q -h -V --project --api-domain --insecure --danger-accept-invalid-certs --verbose --quiet --pretty --help --version"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
--project)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
-p)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--api-domain)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__accounts__mfa)
opts="-p -v -q -h -V --project --api-domain --insecure --danger-accept-invalid-certs --verbose --quiet --pretty --help --version reset lost help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
--project)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
-p)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--api-domain)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__accounts__mfa__help)
opts="reset lost help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__accounts__mfa__help__help)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__accounts__mfa__help__lost)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__accounts__mfa__help__reset)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__accounts__mfa__lost)
opts="-p -v -q -h -V --password --recovery-code --project --api-domain --insecure --danger-accept-invalid-certs --verbose --quiet --pretty --help --version"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
--password)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--recovery-code)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--project)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
-p)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--api-domain)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__accounts__mfa__reset)
opts="-p -v -q -h -V --password --mfa --project --api-domain --insecure --danger-accept-invalid-certs --verbose --quiet --pretty --help --version"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
--password)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--mfa)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--project)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
-p)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--api-domain)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__accounts__password)
opts="-p -v -q -h -V --project --api-domain --insecure --danger-accept-invalid-certs --verbose --quiet --pretty --help --version reset forgot help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
--project)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
-p)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--api-domain)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__accounts__password__forgot)
opts="-p -v -q -h -V --new-password --recovery-code --project --api-domain --insecure --danger-accept-invalid-certs --verbose --quiet --pretty --help --version"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
--new-password)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--recovery-code)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--project)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
-p)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--api-domain)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__accounts__password__help)
opts="reset forgot help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__accounts__password__help__forgot)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__accounts__password__help__help)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__accounts__password__help__reset)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__accounts__password__reset)
opts="-p -v -q -h -V --password --new-password --mfa --project --api-domain --insecure --danger-accept-invalid-certs --verbose --quiet --pretty --help --version"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
--password)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--new-password)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--mfa)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--project)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
-p)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--api-domain)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__accounts__recovery__codes)
opts="-p -v -q -h -V --project --api-domain --insecure --danger-accept-invalid-certs --verbose --quiet --pretty --help --version reset help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
--project)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
-p)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--api-domain)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__accounts__recovery__codes__help)
opts="reset help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__accounts__recovery__codes__help__help)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__accounts__recovery__codes__help__reset)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__accounts__recovery__codes__reset)
opts="-p -v -q -h -V --password --mfa --project --api-domain --insecure --danger-accept-invalid-certs --verbose --quiet --pretty --help --version"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
--password)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--mfa)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--project)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
-p)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--api-domain)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__accounts__register)
opts="-p -v -q -h -V --password --invite --project --api-domain --insecure --danger-accept-invalid-certs --verbose --quiet --pretty --help --version <HOST> <ACCOUNT>"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
--password)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--invite)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--project)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
-p)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--api-domain)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__accounts__switch)
opts="-p -v -q -h -V --project --api-domain --insecure --danger-accept-invalid-certs --verbose --quiet --pretty --help --version <DOMAIN> <ACCOUNT>"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
--project)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
-p)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--api-domain)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__actions)
opts="-p -v -q -h -V --project --api-domain --insecure --danger-accept-invalid-certs --verbose --quiet --pretty --help --version add install help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
--project)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
-p)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--api-domain)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__actions__add)
opts="-p -v -q -h -V --project --api-domain --insecure --danger-accept-invalid-certs --verbose --quiet --pretty --help --version <NAME> <LANG> true false"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
--project)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
-p)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--api-domain)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__actions__help)
opts="add install help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__actions__help__add)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__actions__help__help)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__actions__help__install)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__actions__install)
opts="-n -p -v -q -h -V --name --project --api-domain --insecure --danger-accept-invalid-certs --verbose --quiet --pretty --help --version"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
--name)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
-n)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--project)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
-p)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--api-domain)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__app)
opts="-p -v -q -h -V --project --api-domain --insecure --danger-accept-invalid-certs --verbose --quiet --pretty --help --version deploy patch migrate kill restart download logs accounts help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
--project)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
-p)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--api-domain)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__app__accounts)
opts="-p -v -q -h -V --project --api-domain --insecure --danger-accept-invalid-certs --verbose --quiet --pretty --help --version list help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
--project)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
-p)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--api-domain)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__app__accounts__help)
opts="list help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__app__accounts__help__help)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__app__accounts__help__list)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__app__accounts__list)
opts="-p -v -q -h -V --json --project --api-domain --insecure --danger-accept-invalid-certs --verbose --quiet --pretty --help --version"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
--project)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
-p)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--api-domain)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__app__deploy)
opts="-p -v -q -h -V --project --api-domain --insecure --danger-accept-invalid-certs --verbose --quiet --pretty --help --version"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
--project)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
-p)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--api-domain)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__app__download)
opts="-u -o -p -v -q -h -V --url --out --project --api-domain --insecure --danger-accept-invalid-certs --verbose --quiet --pretty --help --version"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
--url)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
-u)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--out)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
-o)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--project)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
-p)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--api-domain)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__app__help)
opts="deploy patch migrate kill restart download logs accounts help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__app__help__accounts)
opts="list"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__app__help__accounts__list)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__app__help__deploy)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__app__help__download)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__app__help__help)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__app__help__kill)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__app__help__logs)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__app__help__migrate)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__app__help__patch)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__app__help__restart)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__app__kill)
opts="-p -v -q -h -V --project --api-domain --insecure --danger-accept-invalid-certs --verbose --quiet --pretty --help --version"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
--project)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
-p)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--api-domain)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__app__logs)
opts="-p -v -q -h -V --limit --json --project --api-domain --insecure --danger-accept-invalid-certs --verbose --quiet --pretty --help --version all top count <QUERY>"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
--limit)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--project)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
-p)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--api-domain)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__app__migrate)
opts="-p -v -q -h -V --project --api-domain --insecure --danger-accept-invalid-certs --verbose --quiet --pretty --help --version"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
--project)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
-p)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--api-domain)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__app__patch)
opts="-p -v -q -h -V --project --api-domain --insecure --danger-accept-invalid-certs --verbose --quiet --pretty --help --version"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
--project)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
-p)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--api-domain)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__app__restart)
opts="-p -v -q -h -V --project --api-domain --insecure --danger-accept-invalid-certs --verbose --quiet --pretty --help --version"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
--project)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
-p)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--api-domain)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__assets)
opts="-p -v -q -h -V --project --api-domain --insecure --danger-accept-invalid-certs --verbose --quiet --pretty --help --version write help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
--project)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
-p)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--api-domain)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__assets__help)
opts="write help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__assets__help__help)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__assets__help__write)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__assets__write)
opts="-n -p -v -q -h -V --name --project --api-domain --insecure --danger-accept-invalid-certs --verbose --quiet --pretty --help --version"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
--name)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
-n)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--project)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
-p)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--api-domain)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__build)
opts="-i -p -v -q -h -V --ignore-cache --project --api-domain --insecure --danger-accept-invalid-certs --verbose --quiet --pretty --help --version"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
--project)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
-p)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--api-domain)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__content)
opts="-p -v -q -h -V --project --api-domain --insecure --danger-accept-invalid-certs --verbose --quiet --pretty --help --version definition object update help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
--project)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
-p)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--api-domain)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__content__definition)
opts="-p -v -q -h -V --project --api-domain --insecure --danger-accept-invalid-certs --verbose --quiet --pretty --help --version add help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
--project)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
-p)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--api-domain)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__content__definition__add)
opts="-p -v -q -h -V --project --api-domain --insecure --danger-accept-invalid-certs --verbose --quiet --pretty --help --version <NAME>"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
--project)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
-p)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--api-domain)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__content__definition__help)
opts="add help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__content__definition__help__add)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__content__definition__help__help)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__content__help)
opts="definition object update help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__content__help__definition)
opts="add"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__content__help__definition__add)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__content__help__help)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__content__help__object)
opts="add"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__content__help__object__add)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__content__help__update)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__content__object)
opts="-p -v -q -h -V --project --api-domain --insecure --danger-accept-invalid-certs --verbose --quiet --pretty --help --version add help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
--project)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
-p)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--api-domain)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__content__object__add)
opts="-p -v -q -h -V --project --api-domain --insecure --danger-accept-invalid-certs --verbose --quiet --pretty --help --version <JSON>"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
--project)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
-p)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--api-domain)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__content__object__help)
opts="add help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__content__object__help__add)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__content__object__help__help)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__content__update)
opts="-p -v -q -h -V --project --api-domain --insecure --danger-accept-invalid-certs --verbose --quiet --pretty --help --version"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
--project)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
-p)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--api-domain)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__doctor)
opts="-f -p -v -q -h -V --fix --project --api-domain --insecure --danger-accept-invalid-certs --verbose --quiet --pretty --help --version"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
--fix)
COMPREPLY=($(compgen -W "all rust wasm wasm-opt" -- "${cur}"))
return 0
;;
-f)
COMPREPLY=($(compgen -W "all rust wasm wasm-opt" -- "${cur}"))
return 0
;;
--project)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
-p)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--api-domain)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__help)
opts="new build publish templates content assets models actions integrations accounts app secrets doctor help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__help__accounts)
opts="register login logout access password mfa recovery-codes invite current list switch"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__help__accounts__access)
opts="get"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__help__accounts__access__get)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__help__accounts__current)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__help__accounts__invite)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__help__accounts__list)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__help__accounts__login)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__help__accounts__logout)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__help__accounts__mfa)
opts="reset lost"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__help__accounts__mfa__lost)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__help__accounts__mfa__reset)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__help__accounts__password)
opts="reset forgot"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__help__accounts__password__forgot)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__help__accounts__password__reset)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__help__accounts__recovery__codes)
opts="reset"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__help__accounts__recovery__codes__reset)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__help__accounts__register)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__help__accounts__switch)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__help__actions)
opts="add install"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__help__actions__add)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__help__actions__install)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__help__app)
opts="deploy patch migrate kill restart download logs accounts"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__help__app__accounts)
opts="list"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__help__app__accounts__list)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__help__app__deploy)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__help__app__download)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__help__app__kill)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__help__app__logs)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__help__app__migrate)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__help__app__patch)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__help__app__restart)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__help__assets)
opts="write"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__help__assets__write)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__help__build)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__help__content)
opts="definition object update"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__help__content__definition)
opts="add"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__help__content__definition__add)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__help__content__object)
opts="add"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__help__content__object__add)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__help__content__update)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__help__doctor)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__help__help)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__help__integrations)
opts="add"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__help__integrations__add)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__help__models)
opts="add items"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__help__models__add)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__help__models__items)
opts="list"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__help__models__items__list)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__help__new)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__help__publish)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__help__secrets)
opts="store"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__help__secrets__store)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__help__templates)
opts="add upload"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__help__templates__add)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__help__templates__upload)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__integrations)
opts="-p -v -q -h -V --project --api-domain --insecure --danger-accept-invalid-certs --verbose --quiet --pretty --help --version add help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
--project)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
-p)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--api-domain)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__integrations__add)
opts="-p -v -q -h -V --project --api-domain --insecure --danger-accept-invalid-certs --verbose --quiet --pretty --help --version <NAME> <ENDPOINT> JSON"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
--project)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
-p)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--api-domain)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__integrations__help)
opts="add help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__integrations__help__add)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__integrations__help__help)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__models)
opts="-p -v -q -h -V --project --api-domain --insecure --danger-accept-invalid-certs --verbose --quiet --pretty --help --version add items help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
--project)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
-p)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--api-domain)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__models__add)
opts="-p -v -q -h -V --project --api-domain --insecure --danger-accept-invalid-certs --verbose --quiet --pretty --help --version <NAME> v4 v7"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
--project)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
-p)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--api-domain)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__models__help)
opts="add items help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__models__help__add)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__models__help__help)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__models__help__items)
opts="list"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__models__help__items__list)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__models__items)
opts="-p -v -q -h -V --project --api-domain --insecure --danger-accept-invalid-certs --verbose --quiet --pretty --help --version list help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
--project)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
-p)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--api-domain)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__models__items__help)
opts="list help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__models__items__help__help)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__models__items__help__list)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 5 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__models__items__list)
opts="-p -v -q -h -V --json --project --api-domain --insecure --danger-accept-invalid-certs --verbose --quiet --pretty --help --version <NAME>"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
--project)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
-p)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--api-domain)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__new)
opts="-p -v -q -h -V --path --project --api-domain --insecure --danger-accept-invalid-certs --verbose --quiet --pretty --help --version <DOMAIN>"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
--path)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--project)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
-p)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--api-domain)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__publish)
opts="-p -v -q -h -V --project --api-domain --insecure --danger-accept-invalid-certs --verbose --quiet --pretty --help --version"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
--project)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
-p)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--api-domain)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__secrets)
opts="-p -v -q -h -V --project --api-domain --insecure --danger-accept-invalid-certs --verbose --quiet --pretty --help --version store help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
--project)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
-p)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--api-domain)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__secrets__help)
opts="store help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__secrets__help__help)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__secrets__help__store)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__secrets__store)
opts="-p -v -q -h -V --project --api-domain --insecure --danger-accept-invalid-certs --verbose --quiet --pretty --help --version <NAME> <SECRET>"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
--project)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
-p)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--api-domain)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__templates)
opts="-p -v -q -h -V --project --api-domain --insecure --danger-accept-invalid-certs --verbose --quiet --pretty --help --version add upload help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
--project)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
-p)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--api-domain)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__templates__add)
opts="-p -v -q -h -V --project --api-domain --insecure --danger-accept-invalid-certs --verbose --quiet --pretty --help --version <NAME> <ROUTE> <MIME>"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
--project)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
-p)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--api-domain)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__templates__help)
opts="add upload help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__templates__help__add)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__templates__help__help)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__templates__help__upload)
opts=""
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
ordinary__templates__upload)
opts="-n -p -v -q -h -V --name --project --api-domain --insecure --danger-accept-invalid-certs --verbose --quiet --pretty --help --version"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
fi
case "${prev}" in
--name)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
-n)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--project)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
-p)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
--api-domain)
COMPREPLY=($(compgen -f "${cur}"))
return 0
;;
*)
COMPREPLY=()
;;
esac
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
;;
esac
}
if [[ "${BASH_VERSINFO[0]}" -eq 4 && "${BASH_VERSINFO[1]}" -ge 4 || "${BASH_VERSINFO[0]}" -gt 4 ]]; then
complete -F _ordinary -o nosort -o bashdefault -o default ordinary
else
complete -F _ordinary -o bashdefault -o default ordinary
fi