open-vault/command
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
..
server Final sync 2017-10-23 17:39:21 -04:00
test-fixtures Remove config from Meta; it's only used right now with the token helper. 2016-04-01 16:02:18 -04:00
token Add an in-mem token helper for testing 2017-10-24 09:27:19 -04:00
audit_disable.go Typo corrections and tweaks to commands' help info 2017-03-25 12:51:12 -05:00
audit_disable_test.go Add WithOptions methods to audit/auth enabling (#2383) 2017-02-16 11:37:27 -05:00
audit_enable.go Add basic autocompletion (#3223) 2017-08-24 15:23:40 -07:00
audit_enable_test.go Move meta into its own package 2016-04-01 13:16:05 -04:00
audit_list.go Add WithOptions methods to audit/auth enabling (#2383) 2017-02-16 11:37:27 -05:00
audit_list_test.go Add WithOptions methods to audit/auth enabling (#2383) 2017-02-16 11:37:27 -05:00
auth.go Change auth helper interface to api.Secret. (#3263) 2017-08-31 16:57:00 -04:00
auth_disable.go Typo corrections and tweaks to commands' help info 2017-03-25 12:51:12 -05:00
auth_disable_test.go Add WithOptions methods to audit/auth enabling (#2383) 2017-02-16 11:37:27 -05:00
auth_enable.go Normalize plugin_name option for mount and enable-auth (#3202) 2017-08-31 12:16:59 -04:00
auth_enable_test.go Move meta into its own package 2016-04-01 13:16:05 -04:00
auth_test.go Change auth helper interface to api.Secret. (#3263) 2017-08-31 16:57:00 -04:00
base.go Cleanup base flags a bit 2017-10-24 09:28:05 -04:00
base_flags.go Allow hiding flags 2017-10-24 09:28:05 -04:00
base_helpers.go Expand and centralize helpers 2017-10-24 09:28:05 -04:00
base_helpers_test.go Expand and centralize helpers 2017-10-24 09:28:05 -04:00
base_predict.go Add more predictors 2017-10-24 09:28:06 -04:00
base_predict_test.go Add more predictors 2017-10-24 09:28:06 -04:00
capabilities.go Fix up the meta common options text function to not strip leading space and fix up commands 2016-04-01 16:50:12 -04:00
capabilities_test.go Move meta into its own package 2016-04-01 13:16:05 -04:00
command_test.go Add testing harness for a vault cluster 2017-10-24 09:26:44 -04:00
config.go Improve error handling re: homedir expansion 2016-04-25 18:01:13 -07:00
config_test.go Remove config from Meta; it's only used right now with the token helper. 2016-04-01 16:02:18 -04:00
delete.go Provide clarity for output statements of idempotent calls. 2016-04-14 15:46:45 +00:00
delete_test.go Move meta into its own package 2016-04-01 13:16:05 -04:00
format.go Output JSON with spaces not tabs 2017-10-24 09:26:44 -04:00
format_test.go Added JSON Decode and Encode helpers. 2016-07-06 12:25:40 -04:00
generate-root.go Add basic autocompletion (#3223) 2017-08-24 15:23:40 -07:00
generate-root_test.go Fix tests 2017-05-25 09:00:49 -04:00
init.go Add basic autocompletion (#3223) 2017-08-24 15:23:40 -07:00
init_test.go Add support for PGP encrypting the initial root token. (#1883) 2016-09-13 18:42:24 -04:00
key_status.go Fix up the meta common options text function to not strip leading space and fix up commands 2016-04-01 16:50:12 -04:00
key_status_test.go Move meta into its own package 2016-04-01 13:16:05 -04:00
list.go Typo corrections and tweaks to commands' help info 2017-03-25 12:51:12 -05:00
list_test.go Move meta into its own package 2016-04-01 13:16:05 -04:00
main.go Drop cli and meta packages 2017-10-24 09:27:19 -04:00
mount.go Add basic autocompletion (#3223) 2017-08-24 15:23:40 -07:00
mount_test.go Rename "generic" secret backend to "kv" (#3292) 2017-09-15 09:02:29 -04:00
mount_tune.go Typo corrections and tweaks to commands' help info 2017-03-25 12:51:12 -05:00
mounts.go Final sync 2017-10-23 17:39:21 -04:00
mounts_test.go Move meta into its own package 2016-04-01 13:16:05 -04:00
path_help.go Typo corrections and tweaks to commands' help info 2017-03-25 12:51:12 -05:00
path_help_test.go Move meta into its own package 2016-04-01 13:16:05 -04:00
pgp_test.go Add helper for decrypting via PGP in tests 2017-10-24 09:28:06 -04:00
policy_delete.go Fix up the meta common options text function to not strip leading space and fix up commands 2016-04-01 16:50:12 -04:00
policy_delete_test.go Move meta into its own package 2016-04-01 13:16:05 -04:00
policy_list.go Fix up the meta common options text function to not strip leading space and fix up commands 2016-04-01 16:50:12 -04:00
policy_list_test.go Move meta into its own package 2016-04-01 13:16:05 -04:00
policy_write.go Properly lowercase policy names. (#3210) 2017-08-18 19:47:23 -04:00
policy_write_test.go Move meta into its own package 2016-04-01 13:16:05 -04:00
read.go Add basic autocompletion (#3223) 2017-08-24 15:23:40 -07:00
read_test.go Move meta into its own package 2016-04-01 13:16:05 -04:00
rekey.go Final sync 2017-10-23 17:39:21 -04:00
rekey_test.go Backend plugin system (#2874) 2017-07-20 13:28:40 -04:00
remount.go Rename "generic" secret backend to "kv" (#3292) 2017-09-15 09:02:29 -04:00
remount_test.go Rename "generic" secret backend to "kv" (#3292) 2017-09-15 09:02:29 -04:00
renew.go Typo corrections and tweaks to commands' help info 2017-03-25 12:51:12 -05:00
renew_test.go Exclude /sys/leases/renew from registering with expiration manager (#2891) 2017-06-20 12:34:00 -04:00
revoke.go Typo corrections and tweaks to commands' help info 2017-03-25 12:51:12 -05:00
revoke_test.go Move meta into its own package 2016-04-01 13:16:05 -04:00
rotate.go Fix up the meta common options text function to not strip leading space and fix up commands 2016-04-01 16:50:12 -04:00
rotate_test.go Move meta into its own package 2016-04-01 13:16:05 -04:00
seal.go Typo corrections and tweaks to commands' help info 2017-03-25 12:51:12 -05:00
seal_test.go Change seal test name in command package 2016-04-26 00:12:14 +00:00
server.go Make compile 2017-10-23 17:41:44 -04:00
server_ha_test.go Migrate physical backends into separate packages (#3106) 2017-08-03 13:24:27 -04:00
server_test.go Migrate physical backends into separate packages (#3106) 2017-08-03 13:24:27 -04:00
ssh.go Thread stderr through too (#3211) 2017-08-21 17:23:29 -04:00
ssh_test.go Move meta into its own package 2016-04-01 13:16:05 -04:00
status.go Add leader cluster address to status/leader output. (#3061) 2017-07-31 18:25:27 -04:00
status_test.go Multi value test seal (#2281) 2017-01-17 15:43:10 -05:00
step-down.go Fix up the meta common options text function to not strip leading space and fix up commands 2016-04-01 16:50:12 -04:00
token_create.go Typo corrections and tweaks to commands' help info 2017-03-25 12:51:12 -05:00
token_create_test.go Move meta into its own package 2016-04-01 13:16:05 -04:00
token_lookup.go Fix up the meta common options text function to not strip leading space and fix up commands 2016-04-01 16:50:12 -04:00
token_lookup_test.go Move meta into its own package 2016-04-01 13:16:05 -04:00
token_renew.go Rename helper 'duration' to 'parseutil'. (#2449) 2017-03-07 11:21:22 -05:00
token_renew_test.go Move meta into its own package 2016-04-01 13:16:05 -04:00
token_revoke.go Add -self flag to token-revoke (#2596) 2017-04-17 12:40:51 -04:00
token_revoke_test.go Move meta into its own package 2016-04-01 13:16:05 -04:00
unmount.go Typo corrections and tweaks to commands' help info 2017-03-25 12:51:12 -05:00
unmount_test.go Move meta into its own package 2016-04-01 13:16:05 -04:00
unseal.go Typo corrections and tweaks to commands' help info 2017-03-25 12:51:12 -05:00
unseal_test.go Multi value test seal (#2281) 2017-01-17 15:43:10 -05:00
unwrap.go Typo corrections and tweaks to commands' help info 2017-03-25 12:51:12 -05:00
unwrap_test.go all: test: Fix govet warnings 2016-12-21 19:44:07 +01:00
util.go Detect terminal and use the output writer for raw fields 2017-10-24 09:28:06 -04:00
version.go Add cgo info to vault version output 2016-11-27 19:32:57 -05:00
version_test.go
wrapping_test.go Address most review feedback. Change responses to multierror to better return more useful values when there are multiple errors 2016-05-16 16:11:33 -04:00
write.go Add basic autocompletion (#3223) 2017-08-24 15:23:40 -07:00
write_test.go Fix tests 2017-05-25 09:00:49 -04:00