Diptanu Choudhury
b45387c03c
Fixes the logic for node drain confirmation prompt
2016-03-27 19:17:29 -07:00
Alex Dadgar
5d48a2bc71
Confirmation on destructive commands
2016-03-24 14:43:20 -07:00
Diptanu Choudhury
7ed107d04e
Always defaulting to prefix match
2016-03-17 17:25:38 -07:00
Alex Dadgar
436c13d26a
Merge pull request #692 from iverberk/f-detect-half-byte-prefix
...
Detect a half-byte prefix
2016-01-21 14:12:27 -08:00
Ivo Verberk
9ab2135b38
Provide a consistent user experience with prefix based lookups.
...
* Require at least two characters for identifier
* Automatically strip off the last character in case of uneven length
2016-01-21 22:21:35 +01:00
Ivo Verberk
c44b4c8aa9
Do not use the exact internal field names in the CLI output
2016-01-21 21:35:56 +01:00
Ivo Verberk
d8ac284bdd
Detect a half-byte prefix and display a user-friendly error.
2016-01-21 20:53:05 +01:00
Alex Dadgar
68a5877c91
Change multiple match cli output
2016-01-06 15:08:47 -08:00
Ivo Verberk
9527fc254d
Improvements for short identifiers
...
* Fix tests
* Update documentation
2016-01-06 22:46:57 +01:00
Ivo Verberk
0c01ca49e6
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
7838b2a57c
Refactoring
...
* Reverted changes to get methods
* Added prefix query parameter
* Updated node status to use prefix based searching
* Fixed tests
* Removed truncation logic
2015-12-22 23:44:33 +01:00
Ivo Verberk
a3d015c278
Allow short identifiers for node-drain command
2015-12-20 18:02:10 +01:00
Ryan Uber
7b5fd8a214
command: use meta struct for common options
2015-09-14 13:24:03 -07:00
Ryan Uber
18745e6e68
command: cleanup
2015-09-14 13:24:03 -07:00
Ryan Uber
c6fdb6060a
command: add node-drain command
2015-09-14 13:24:03 -07:00