Michael Schurter
cad3f1022a
cli: do not duplicate reschedule headers per group
...
Fixes #5291
2019-02-01 09:28:36 -08:00
Alex Dadgar
15ad3f94af
Fix command line
2018-04-26 15:46:22 -07:00
Nick Ethier
d0326503ac
command: use ':' instead of ',' in error msg
2018-04-18 13:55:51 -04:00
Nick Ethier
182e3bec1b
command: improve help text when invalid arguments are given
2018-04-18 12:02:11 -04:00
Preetha Appan
ba217e5224
More code review feedback
2018-03-21 14:28:14 -05:00
Preetha Appan
26b6e70d13
Addressed code review feedback
2018-03-21 09:15:29 -05:00
Preetha Appan
30fff15de7
Show reschedule policy in addition to when the eval will get rescheduled
2018-03-20 13:34:29 -05:00
Preetha Appan
ec13089be9
Unit test and linting fix
2018-03-19 22:11:07 -05:00
Preetha Appan
31a3c81c3b
Show a section on upcoming delayed evaluations when applicable
2018-03-19 21:42:37 -05:00
Josh Soref
89af36e6dc
spelling: deferring
2018-03-11 17:53:08 +00:00
Alex Dadgar
45f5f4c521
Update job_status.go
2017-12-11 16:14:03 -08:00
Alex Dadgar
9a8a89c3ab
Node Status output includes new modify time
2017-12-11 16:08:25 -08:00
Preetha Appan
75673b88c0
New pretty printer that imitates the short form from time.Duration.String() with approximated values for days and beyond. Used in cli output for allocation create/modify times
2017-11-01 15:16:38 -05:00
Preetha Appan
e91d26d6ba
Adds modify time to job/alloc status CLI output, and pretty prints
2017-11-01 15:13:48 -05:00
Alex Dadgar
93add81844
Check for errors initializing client for autocomplete
2017-08-29 14:29:32 -07:00
Alex Dadgar
ac2e20d511
Document new status command
...
This PR documents the new status and job status command.
2017-08-28 16:05:58 -07:00
Alex Dadgar
5182ebb8cf
don't limit on one arg
2017-08-28 13:40:04 -07:00
Alex Dadgar
1df249f1fb
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
d7d8661485
Search respects QueryOptions and returns QueryMeta
...
@chelseakomlo heads up on this change
2017-08-27 22:17:51 -07:00
Chelsea Holland Komlo
ffe95a1a62
adds any resource autocomplete
...
defaults to listing jobs if no id is provided
2017-08-25 16:42:11 +00:00
Alex Dadgar
cf7a3fdf51
Autocomplete global flags
2017-08-23 23:29:29 +00:00
Chelsea Holland Komlo
2721e5890f
enable autocompletion of flags
2017-08-23 22:57:07 +00:00
Alex Dadgar
00947f3ff4
move autocomplete functions to top for consistency of placement
2017-08-22 13:41:42 -07:00
Chelsea Holland Komlo
c083af1e7c
tab completion should only happen once
2017-08-16 17:04:47 +00:00
Chelsea Holland Komlo
499de71dfd
adding autocomplete for nodes, evals, and jobs
2017-08-14 20:44:28 +00:00
Chelsea Holland Komlo
869ee83b82
migrate nomad status to nomad job status
2017-08-09 15:16:04 +00:00