Skip to content
This repository has been archived by the owner on Sep 23, 2023. It is now read-only.

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
zeapo committed Apr 4, 2021
1 parent 353049e commit c80d4a7
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,19 @@ OPTIONS:

These are global options, and can be set anywhere in the command.

=== Listing
Lists your secrets and their versions

....
USAGE:
barberousse list [OPTIONS] [secret-id]
ARGS:
<secret-id> The id of the secret for which to list versions
....

If no `secret-id` is passed, lists all your secrets. To list the versions, just pass the id of the secret.

=== Printing
Cat your secret in a nice format into stdout

Expand All @@ -50,6 +63,8 @@ OPTIONS:
-s, --secret-format <secret-format> The format of the secret's remote storage [default: json]
[possible values: json, yaml, text]
--version-id <version-id> Cat a specific version
....

The output is pretty-printed, and color highlighted by default. Disable that by using `--print-format=text`
Expand Down

0 comments on commit c80d4a7

Please sign in to comment.