Allow to output secrets in YAML format

This can be done with https://github.com/ghodss/yaml, which reuses
existing JSON struct tags for YAML.
This commit is contained in:
Mathias Lafeldt
2015-12-10 11:32:31 +01:00
parent c1151dd3c3
commit 073e4c872e
5 changed files with 20 additions and 4 deletions

View File

@@ -100,7 +100,7 @@ General Options:
Read Options:
-format=table The format for output. By default it is a whitespace-
delimited table. This can also be json.
delimited table. This can also be json or yaml.
-field=field If included, the raw value of the specified field
will be output raw to stdout.