Seth Vargo
618665bf8d
Update token-lookup command
2017-10-24 09:30:46 -04:00
Seth Vargo
eee5edb102
Update token-create command
2017-10-24 09:30:46 -04:00
Seth Vargo
ba5712ef4f
Update step-down command
2017-10-24 09:30:46 -04:00
Seth Vargo
bd33fe3c73
Update status command
2017-10-24 09:30:46 -04:00
Seth Vargo
9eb5978d1d
Update ssh command
2017-10-24 09:30:46 -04:00
Seth Vargo
f5b791108b
Update seal command
2017-10-24 09:30:46 -04:00
Seth Vargo
0380caedd9
Update rotate command
2017-10-24 09:30:46 -04:00
Seth Vargo
8df5905c34
Update revoke command
2017-10-24 09:30:46 -04:00
Seth Vargo
c6380da6ce
Update renew command
2017-10-24 09:30:46 -04:00
Seth Vargo
02dd8b975e
Update remount command
2017-10-24 09:30:46 -04:00
Seth Vargo
ec1677f3e7
Update rekey command
2017-10-24 09:30:46 -04:00
Seth Vargo
ad1482e123
Update read command
2017-10-24 09:29:37 -04:00
Seth Vargo
0d598a7f1e
Update policy-write command
2017-10-24 09:29:37 -04:00
Seth Vargo
cfd378187a
Update policy-list command
2017-10-24 09:29:37 -04:00
Seth Vargo
eece6eea4a
Update policy-delete command
2017-10-24 09:29:36 -04:00
Seth Vargo
f244e03fda
Update path-help command
2017-10-24 09:29:36 -04:00
Seth Vargo
3a0af6b8eb
Update mounts command
2017-10-24 09:29:36 -04:00
Seth Vargo
8f6a5c4a45
Update mount-tune command
2017-10-24 09:28:07 -04:00
Seth Vargo
5cc5b6c6a6
Update mount command
2017-10-24 09:28:07 -04:00
Seth Vargo
1047792f2d
Update list command
2017-10-24 09:28:07 -04:00
Seth Vargo
f93e3e3e70
Update key-status command
2017-10-24 09:28:07 -04:00
Seth Vargo
a3c4e35848
Update init command
2017-10-24 09:28:07 -04:00
Seth Vargo
6028c84a02
Update generate-root command
2017-10-24 09:28:07 -04:00
Seth Vargo
9d4e8c3529
Update format to not use colored UI for json/yaml
2017-10-24 09:28:07 -04:00
Seth Vargo
d38abb665b
Update delete command
2017-10-24 09:28:07 -04:00
Seth Vargo
a7589f7613
Update capabilities command
2017-10-24 09:28:06 -04:00
Seth Vargo
ae4bf4eec7
Add new auth-list command
2017-10-24 09:28:06 -04:00
Seth Vargo
4e55d014f5
Add new auth-help command
2017-10-24 09:28:06 -04:00
Seth Vargo
5988dfc436
Update auth-enable command
2017-10-24 09:28:06 -04:00
Seth Vargo
fb5fc77209
Update auth-disable command
2017-10-24 09:28:06 -04:00
Seth Vargo
9ff68fffa2
Update auth command
2017-10-24 09:28:06 -04:00
Seth Vargo
ca28cde14b
Update audit-list command
2017-10-24 09:28:06 -04:00
Seth Vargo
78160740f0
Update audit-enable command
2017-10-24 09:28:06 -04:00
Seth Vargo
3186d0d562
Update audit-disable command
2017-10-24 09:28:06 -04:00
Seth Vargo
738e4ea286
Add more testing helper functions
2017-10-24 09:28:06 -04:00
Seth Vargo
c81fc5b013
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
94df25dbf7
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
48ab42c32f
Add helper for decrypting via PGP in tests
2017-10-24 09:28:06 -04:00
Seth Vargo
fc58acbd7e
Remove unused file for tests
2017-10-24 09:28:06 -04:00
Seth Vargo
0cfb558f0b
Add more predictors
2017-10-24 09:28:06 -04:00
Seth Vargo
e3fff2a788
Read env config for predictions
2017-10-24 09:28:05 -04:00
Seth Vargo
2a4404c20a
Expand and centralize helpers
2017-10-24 09:28:05 -04:00
Seth Vargo
125f055903
Cleanup base flags a bit
2017-10-24 09:28:05 -04:00
Seth Vargo
4bd867c56a
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
fceddbe724
Allow hiding flags
2017-10-24 09:28:05 -04:00
Seth Vargo
4d9a42aa20
Add an in-mem token helper for testing
2017-10-24 09:27:19 -04:00
Seth Vargo
1552436a12
Add interface assertions for token helpers
...
This will ensure they meet the right API
2017-10-24 09:27:19 -04:00
Seth Vargo
47a633b83e
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
792527bb83
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
b67f9404a8
Only print default values if they are non-zero
2017-10-24 09:26:44 -04:00