Update zsh completion, add file completion
This commit is contained in:
parent
c2f142eea3
commit
4cc8f25464
|
@ -20,12 +20,14 @@ __build() {
|
|||
'-parallel=[(false) Disable parallelization (on by default)]' \
|
||||
'-var[("key=value") Variable for templates, can be used multiple times.]' \
|
||||
'-var-file=[(path) JSON file containing user variables.]'
|
||||
_files -g "*.json"
|
||||
}
|
||||
|
||||
|
||||
__inspect() {
|
||||
_arguments \
|
||||
'-machine-readable[Machine-readable output]'
|
||||
_files -g "*.json"
|
||||
}
|
||||
|
||||
__push() {
|
||||
|
@ -34,6 +36,7 @@ __push() {
|
|||
'-token=[(<token>) Access token to use to upload.]' \
|
||||
'-var[("key=value") Variable for templates, can be used multiple times.]' \
|
||||
'-var-file=[(path) JSON file containing user variables.]'
|
||||
_files -g "*.json"
|
||||
}
|
||||
|
||||
__validate() {
|
||||
|
@ -43,6 +46,7 @@ __validate() {
|
|||
'-only=[(foo,bar,baz) Validate only these builds]' \
|
||||
'-var[("key=value") Variable for templates, can be used multiple times.]' \
|
||||
'-var-file=[(path) JSON file containing user variables.]'
|
||||
_files -g "*.json"
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue