Seth Vargo
a8b061723c
Update policy-list command
2017-10-24 09:29:37 -04:00
Seth Vargo
bd879f2731
Update policy-delete command
2017-10-24 09:29:36 -04:00
Seth Vargo
85e5c33352
Update path-help command
2017-10-24 09:29:36 -04:00
Seth Vargo
19caaafe13
Update mounts command
2017-10-24 09:29:36 -04:00
Seth Vargo
136ef51f49
Update mount-tune command
2017-10-24 09:28:07 -04:00
Seth Vargo
7abb3341a3
Update mount command
2017-10-24 09:28:07 -04:00
Seth Vargo
4d0b10ebd2
Update list command
2017-10-24 09:28:07 -04:00
Seth Vargo
7cd7338f9d
Update key-status command
2017-10-24 09:28:07 -04:00
Seth Vargo
076703ebc1
Update init command
2017-10-24 09:28:07 -04:00
Seth Vargo
9500cb7fc7
Update generate-root command
2017-10-24 09:28:07 -04:00
Seth Vargo
9b949cebd5
Update format to not use colored UI for json/yaml
2017-10-24 09:28:07 -04:00
Seth Vargo
38823efa70
Update delete command
2017-10-24 09:28:07 -04:00
Seth Vargo
fd5ba4c5ed
Update capabilities command
2017-10-24 09:28:06 -04:00
Seth Vargo
d93c418db3
Add new auth-list command
2017-10-24 09:28:06 -04:00
Seth Vargo
153bfd6a83
Add new auth-help command
2017-10-24 09:28:06 -04:00
Seth Vargo
6178d61d6d
Update auth-enable command
2017-10-24 09:28:06 -04:00
Seth Vargo
43465577d4
Update auth-disable command
2017-10-24 09:28:06 -04:00
Seth Vargo
595456df69
Update auth command
2017-10-24 09:28:06 -04:00
Seth Vargo
ac0be24253
Update audit-list command
2017-10-24 09:28:06 -04:00
Seth Vargo
8e343caeda
Update audit-enable command
2017-10-24 09:28:06 -04:00
Seth Vargo
197d7840cc
Update audit-disable command
2017-10-24 09:28:06 -04:00
Seth Vargo
d03caa18b5
Add more testing helper functions
2017-10-24 09:28:06 -04:00
Seth Vargo
06580ebd61
Remove wrapping tests
...
There are no dedicated tests for this, but ttl wrapping is littered throughout other tests
2017-10-24 09:28:06 -04:00
Seth Vargo
9e2a833b19
Detect terminal and use the output writer for raw fields
...
If the value is being "piped", we don't print colors or the newline character at the end. If it's not, we still give users pretty when selecting a raw field/value.
2017-10-24 09:28:06 -04:00
Seth Vargo
5a6b08caab
Add helper for decrypting via PGP in tests
2017-10-24 09:28:06 -04:00
Seth Vargo
e516762328
Remove unused file for tests
2017-10-24 09:28:06 -04:00
Seth Vargo
bb4edc30f8
Add more predictors
2017-10-24 09:28:06 -04:00
Seth Vargo
d271bdd4e1
Read env config for predictions
2017-10-24 09:28:05 -04:00
Seth Vargo
3331b25895
Expand and centralize helpers
2017-10-24 09:28:05 -04:00
Seth Vargo
971307351b
Cleanup base flags a bit
2017-10-24 09:28:05 -04:00
Seth Vargo
197339e78c
Use a TokenHelper method
...
It's weird to have two different helper funcs that can return different errors
2017-10-24 09:28:05 -04:00
Seth Vargo
5d31c4cb08
Allow hiding flags
2017-10-24 09:28:05 -04:00
Seth Vargo
502d7a2040
Add an in-mem token helper for testing
2017-10-24 09:27:19 -04:00
Seth Vargo
5b0b8b9db5
Add interface assertions for token helpers
...
This will ensure they meet the right API
2017-10-24 09:27:19 -04:00
Seth Vargo
acd4241740
Drop cli and meta packages
...
This centralizes all command-related things in the command package
2017-10-24 09:27:19 -04:00
Seth Vargo
50705bcce7
Unwrap cli.Ui to get to the underlying writer
...
This allows us to write without a newline character, since the Ui
interface doesn't expose a direct Write() method.
2017-10-24 09:26:45 -04:00
Seth Vargo
0f2905fd7c
Only print default values if they are non-zero
2017-10-24 09:26:44 -04:00
Seth Vargo
5093b8dff8
More arbitrary function for wrapping at a length
2017-10-24 09:26:44 -04:00
Seth Vargo
9347c110f2
Delegate usage to the UI
2017-10-24 09:26:44 -04:00
Seth Vargo
6c73d28967
Make predict it's own struct
...
The previous architecture would create an API client many times, slowing down the CLI exponentially for each new command added.
2017-10-24 09:26:44 -04:00
Seth Vargo
bd3064327c
Separate "files" and "folders" in predictor
2017-10-24 09:26:44 -04:00
Seth Vargo
2f3acd9068
Remove coupling between Raw() and UI
2017-10-24 09:26:44 -04:00
Seth Vargo
cb31f95e75
Add testing harness for a vault cluster
2017-10-24 09:26:44 -04:00
Seth Vargo
9064d52e66
Output JSON with spaces not tabs
2017-10-24 09:26:44 -04:00
Seth Vargo
cc0140be80
Add start of base command, flags, prediction
2017-10-24 09:26:44 -04:00
Jeff Mitchell
65f664be47
Make compile
2017-10-23 17:41:44 -04:00
Jeff Mitchell
a25dae82dd
Final sync
2017-10-23 17:39:21 -04:00
Jeff Mitchell
6bafb02a5b
Sync up server.go a bit
2017-10-10 12:27:51 -04:00
Jeff Mitchell
17a15cd594
Add option to disable client certificate requesting. ( #3373 )
...
Fixes #3372
2017-09-25 14:41:46 -04:00
Calvin Leung Huang
29911bfea8
Add support for stored shares and skip-init in dev mode ( #3364 )
2017-09-21 15:23:29 -04:00