Add examples for sq cert list

- List all bindings for User IDs containing a specific email address
- List all paths to a specific certificate
- See: #451
This commit is contained in:
franzi 2024-12-05 15:42:19 +01:00 committed by Justus Winter
parent 03578878fe
commit 3d4554a5a4
No known key found for this signature in database
GPG Key ID: 686F55B4AB2B3386

View File

@ -25,6 +25,18 @@ const EXAMPLES: Actions = Actions {
).command (&[
"sq", "cert", "list", "@example.org",
]).build(),
Action::example().comment(
"List all authenticated bindings for User IDs containing a specific email address."
).command (&[
"sq", "cert", "list", "--email", "alice@example.org",
]).build(),
Action::example().comment(
"List all paths to certificates containing a specific email address."
).command (&[
"sq", "cert", "list", "--gossip", "--show-paths", "--email", "alice@example.org",
]).build(),
]
};
test_examples!(sq_cert_list, EXAMPLES);