Commit Graph

26 Commits

Author SHA1 Message Date
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
7e0302376c nomad stop 2017-08-22 13:22:29 -07:00
Dom Udall
9694ef690c Fixing spelling mistake
Updating `deregistraion` -> `deregistration`
2017-08-01 10:26:52 +01:00
Alex Dadgar
3cd8d50bbc Multiple matched objects now treated as an error condition. 2017-07-20 17:31:07 -07:00
Alex Dadgar
3935656d14 Show submit time 2017-07-07 12:07:07 -07:00
Alex Dadgar
950171f094 non-purge deregisters 2017-04-15 17:08:05 -07:00
Alex Dadgar
07f7e19578 Fix vet script and fix vet problems
This PR fixes our vet script and fixes all the missed vet changes.

It also fixes pointers being printed in `nomad stop <job>` and `nomad
node-status <node>`.
2017-02-27 16:00:19 -08:00
Diptanu Choudhury
f551dcb83e Making the job spec return api.Job 2017-02-16 13:52:39 -08:00
Alex Dadgar
efc4700d42 fix indents 2016-07-25 11:16:54 -07:00
Alex Dadgar
c993b51c4b eval-status website docs 2016-05-27 11:50:15 -07:00
Alex Dadgar
3896cfb56f check for exact match on job for inspect/stop 2016-04-13 16:05:58 -07:00
Diptanu Choudhury
3259593b28 Fixes the logic for job-stop confirmation prompt 2016-03-27 19:21:23 -07:00
Alex Dadgar
f1b485511e Confirmation on destructive commands 2016-03-24 14:43:20 -07:00
Alex Dadgar
eec0e3e9d6 inspect/stop uses prefix search 2016-03-21 13:00:14 -07:00
Ivo Verberk
9770a95608 Refactoring of full-id argument and id length constants
* full-id argument is now called verbose to be more future-proof
* constants for identifier length are a little more concise
2016-01-15 23:32:38 +01:00
Ivo Verberk
ab9409184a Shorten CLI identifiers
* Truncate all UUID identifiers to eight characters by default
* Refactor the node identifier to an auto-generated UUID
* Created and updated tests and mocks
2016-01-14 21:57:43 +01:00
Alex Dadgar
0a85e74aae Make monitoring based on prefix optional 2016-01-07 15:25:08 -08:00
Alex Dadgar
012db31100 Change multiple match cli output 2016-01-06 15:08:47 -08:00
Ivo Verberk
62951082e2 Improvements for short identifiers
* Fix tests
* Update documentation
2016-01-06 22:46:57 +01:00
Ivo Verberk
905742249e Refactoring continued
* Refactor other cli commands to new design
* Add PrefixList method to api package
* Add more tests
2015-12-24 20:53:37 +01:00
Ivo Verberk
bdf4347bc8 Allow short job identifiers for stop command 2015-12-20 12:14:59 +01:00
Ryan Uber
eb60a5fdc1 command: enter monitor mode by default 2015-09-22 10:45:06 -07:00
Ryan Uber
5de88e0523 command/stop: inital stop command 2015-09-22 10:45:06 -07:00