From c80d4a720ed77c7a3707daff074b2716770f6221 Mon Sep 17 00:00:00 2001 From: Mohamed Zenadi Date: Sun, 4 Apr 2021 19:27:50 +0200 Subject: [PATCH] update readme --- README.adoc | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.adoc b/README.adoc index 9272694..874bc22 100644 --- a/README.adoc +++ b/README.adoc @@ -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: + 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 @@ -50,6 +63,8 @@ OPTIONS: -s, --secret-format The format of the secret's remote storage [default: json] [possible values: json, yaml, text] + + --version-id Cat a specific version .... The output is pretty-printed, and color highlighted by default. Disable that by using `--print-format=text`