Debian Codegraph @

src/cli/config/inspect/policy.rs

raw
1 //! Command-line parser for `sq config inspect policy`.
2
3 use clap::Args;
4
5 use crate::cli::examples::*;
6
7 #[derive(Debug, Args)]
8 #[clap(
9 name = "policy",
10 about = "Inspect the cryptographic policy",
11 long_about = "\
12 Inspect the cryptographic policy
13
14 Explains the cryptographic policy that Sequoia uses to \
15 either accept or reject algorithms and packets outright, \
16 or at a configured point in time.
17 ",
18 after_help = EXAMPLES,
19 )]
20 pub struct Command {
21 }
22
23 const EXAMPLES: Actions = Actions {
24 actions: &[
25 Action::example()
26 .comment("Inspect the cryptographic policy.")
27 .command(&[
28 "sq", "config", "inspect", "policy",
29 ])
30 .build(),
31 ],
32 };
33 test_examples!(sq_config_inspect_policy, EXAMPLES);