Skip to content

Commit

Permalink
cli: Add piped lookup example
Browse files Browse the repository at this point in the history
Add example with --secret-only.
  • Loading branch information
A6GibKm authored and bilelmoussaoui committed Sep 10, 2024
1 parent 4873049 commit e9259e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ enum Commands {
#[command(
name = "lookup",
about = "Retrieve a secret",
after_help = format!("Example:\n {} lookup smtp-port=1025", BINARY_NAME)
after_help = format!("Examples:\n {} lookup smtp-port=1025\n {0} lookup --secret-only mysql-port=1234 | systemd-creds encrypt --name=mysql-password -p - -", BINARY_NAME)
)]
Lookup {
#[arg(
Expand Down

0 comments on commit e9259e7

Please sign in to comment.