list files during completion

This commit is contained in:
Laurent Commarieu 2017-08-04 15:22:13 +02:00
parent d848c94804
commit 4ae1f741d1
No known key found for this signature in database
GPG Key ID: F9DAC01C2EFFB6B0

View File

@ -53,7 +53,8 @@ __inspect() {
'-region=[(region) The region of the Nomad servers to forward commands to. Overrides the NOMAD_REGION environment variable if set. Defaults to the Agent s local region.]' \ '-region=[(region) The region of the Nomad servers to forward commands to. Overrides the NOMAD_REGION environment variable if set. Defaults to the Agent s local region.]' \
'-no-color[Disables colored command output.]' \ '-no-color[Disables colored command output.]' \
'-json[Output the allocation in its JSON format.]' \ '-json[Output the allocation in its JSON format.]' \
'-t[Format and display allocation using a Go template.]' '-t[Format and display allocation using a Go template.]' \
'*:directory:_files' && ret=0
} }
__logs() { __logs() {
@ -89,7 +90,8 @@ __plan() {
'-address=[(addr) The address of the Nomad server. Overrides the NOMAD_ADDR environment variable if set. Default = http://127.0.0.1:4646]' \ '-address=[(addr) The address of the Nomad server. Overrides the NOMAD_ADDR environment variable if set. Default = http://127.0.0.1:4646]' \
'-region=[(region) The region of the Nomad servers to forward commands to. Overrides the NOMAD_REGION environment variable if set. Defaults to the Agent s local region.]' \ '-region=[(region) The region of the Nomad servers to forward commands to. Overrides the NOMAD_REGION environment variable if set. Defaults to the Agent s local region.]' \
'-no-color[Disables colored command output.]' \ '-no-color[Disables colored command output.]' \
'-diff[Determines whether the diff between the remote job and planned job is shown. Defaults to true.]' '-diff[Determines whether the diff between the remote job and planned job is shown. Defaults to true.]' \
'*:directory:_files' && ret=0
} }
__run() { __run() {
@ -100,7 +102,8 @@ __run() {
'-check-index[If set, the job is only registered or updated if the the passed job modify index matches the server side version. If a check-index value of zero is passed, the job is only registered if it does not yet exist. If a non-zero value is passed, it ensures that the job is being updated from a known state. The use of this flag is most common in conjunction with plan command.]' \ '-check-index[If set, the job is only registered or updated if the the passed job modify index matches the server side version. If a check-index value of zero is passed, the job is only registered if it does not yet exist. If a non-zero value is passed, it ensures that the job is being updated from a known state. The use of this flag is most common in conjunction with plan command.]' \
'-detach[Return immediately instead of entering monitor mode. After job submission, the evaluation ID will be printed to the screen, which can be used to examine the evaluation using the eval-status command.]' \ '-detach[Return immediately instead of entering monitor mode. After job submission, the evaluation ID will be printed to the screen, which can be used to examine the evaluation using the eval-status command.]' \
'-output[Output the JSON that would be submitted to the HTTP API without submitting the job.]' \ '-output[Output the JSON that would be submitted to the HTTP API without submitting the job.]' \
'-verbose[Show full information.]' '-verbose[Show full information.]' \
'*:directory:_files' && ret=0
} }
__status() { __status() {