hashicorp-copywrite[bot]
a9d61ea3fd
Update copyright file headers to BUSL-1.1
2023-08-10 17:27:29 -05:00
hashicorp-copywrite[bot]
f005448366
[COMPLIANCE] Add Copyright and License Headers
2023-04-10 15:36:59 +00:00
Derek Strickland
87b0d93c60
cli: fix detach handling ( #13405 )
...
Fix detach handling for:
- `deployment fail`
- `deployment promote`
- `deployment resume`
- `deployment unblock`
- `job promote`
2022-06-21 06:01:23 -04:00
Tim Gross
8a66f11bb3
docs: describe required ACLs for all commands
2020-11-20 13:38:29 -05:00
Tim Gross
89f4f51746
command: remove -namespace from help options when not applicable
2020-11-19 16:28:39 -05:00
Kris Hicks
0e09747d5b
Update monitor func not to take a prefix ( #9251 )
...
The only user of monitor(evalID, true) was command/eval_status, and
eval_status had a duplicate of the prefix-handling code inside it, so in
all cases the complete evalID was being passed to monitor.
Given that, we can remove the prefix code from command/monitor, and
remove the boolean arg.
2020-11-02 10:24:49 -08:00
Brian Lalor
40697ab6c1
Fix output of 'nomad deployment fail' with no arg
2018-12-13 13:22:17 -05:00
Nick Ethier
45b0ce9177
command: improve help text when invalid arguments are given
2018-04-18 12:02:11 -04:00
Alex Dadgar
f6fbb36054
sync
2017-10-13 14:36:02 -07:00
Alex Dadgar
5d65af523d
Check for errors initializing client for autocomplete
2017-08-29 14:29:32 -07:00
Alex Dadgar
ce3c316592
don't limit on one arg
2017-08-28 13:40:04 -07:00
Alex Dadgar
85a1899dfa
Reduce startup time on Mac
...
This PR moves creating the API client into the returned predict
function. The creation of the client causes a lookup of all the system
certificates and doing that for each command on mac was extremely slow.
2017-08-28 11:29:27 -07:00
Alex Dadgar
4d97b302a0
Search respects QueryOptions and returns QueryMeta
...
@chelseakomlo heads up on this change
2017-08-27 22:17:51 -07:00
Chelsea Holland Komlo
e88228cc5d
add global flags to autocomplete
2017-08-23 22:58:44 +00:00
Chelsea Holland Komlo
c1e5c7132a
enable autocompletion of flags
2017-08-23 22:57:07 +00:00
Alex Dadgar
3ae8ecb32f
Autocomplete deployment commands
2017-08-22 13:05:24 -07:00
Alex Dadgar
487e1eafee
New commands docs and small fixes
...
This PR adds the command documentations and has small CLI fixes.
2017-07-25 17:37:09 -07:00
Alex Dadgar
3cd8d50bbc
Multiple matched objects now treated as an error condition.
2017-07-20 17:31:07 -07:00
Alex Dadgar
bdb71e7074
Small fixes and UX changes
2017-07-19 13:34:24 -07:00
Alex Dadgar
fec6f2ef57
Return the reverted job version
2017-07-07 12:10:04 -07:00
Alex Dadgar
d18a3df789
fail,pause,resume commands
2017-07-07 12:07:07 -07:00