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:
parent
03578878fe
commit
3d4554a5a4
@ -25,6 +25,18 @@ const EXAMPLES: Actions = Actions {
|
|||||||
).command (&[
|
).command (&[
|
||||||
"sq", "cert", "list", "@example.org",
|
"sq", "cert", "list", "@example.org",
|
||||||
]).build(),
|
]).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);
|
test_examples!(sq_cert_list, EXAMPLES);
|
||||||
|
Loading…
Reference in New Issue
Block a user