Frank Schroeder
846fe5d630
test: use cli.NewMockUi instead of new(cli.MockUi)
...
Use the constructor function to prevent a nil panic
if there was no write to the output buffers.
2017-05-31 00:29:26 +02:00
Frank Schroeder
dba20d02eb
test: run command tests in parallel
2017-05-31 00:29:25 +02:00
Frank Schroeder
26474ce9c2
test: refactor command tests to use TestAgent
2017-05-31 00:29:24 +02:00
Frank Schroeder
8c7bb7b65a
golint: Rename fields and structs
2017-04-25 09:26:13 -07:00
Kyle Havlovitz
b35acaac33
Convert kv commands to use base.Command
2017-02-08 19:26:24 -05:00
James Nugent
2bb6121e54
cli: Add -base64 option to `consul kv get`
...
This commit adds a `-base64` option to the `consul kv get` command,
which base 64 encodes the output such that it can be processed by
terminal tools in the event that the data is binary. The flag defaults
to false.
2017-01-04 15:41:40 -06:00
Seth Vargo
8ac6877f20
Remove debugging code
2016-09-26 16:09:35 -07:00
Seth Vargo
a8dc0f86b6
Add kv get
2016-09-26 16:06:53 -07:00