Add a load-conf command
This commit is contained in:
parent
e4f7733c88
commit
b1cdfdb85e
|
@ -3,7 +3,7 @@ _ctctl(){
|
|||
_init_completion || return
|
||||
|
||||
case $prev in
|
||||
auth|disconnect|render|fetch|prepare|current|tokens|list|build|build-no-cache|exec|sh|logs|loki|conf)
|
||||
auth|disconnect|render|fetch|prepare|load-conf|current|tokens|list|build|build-no-cache|exec|sh|logs|loki|conf)
|
||||
return
|
||||
;;
|
||||
switch)
|
||||
|
@ -12,7 +12,7 @@ _ctctl(){
|
|||
;;
|
||||
esac
|
||||
|
||||
COMPREPLY=($(compgen -W 'auth switch current disconnect render fetch prepare tokens list build build-no-cache exec sh logs loki conf' -- "$cur"))
|
||||
COMPREPLY=($(compgen -W 'auth switch current disconnect render fetch prepare load-conf tokens list build build-no-cache exec sh logs loki conf' -- "$cur"))
|
||||
} &&
|
||||
complete -F _ctctl ctctl
|
||||
|
||||
|
|
Loading…
Reference in New Issue