Debian Codegraph @

src/cli/config/inspect/network.rs

raw
1 //! Command-line parser for `sq config inspect network`.
2
3 use clap::Args;
4
5 use crate::cli::examples::*;
6
7 #[derive(Debug, Args)]
8 #[clap(
9 name = "network",
10 about = "Inspect the network configuration",
11 long_about = "\
12 Inspect the network configuration
13
14 Prints the network configuration. This can be used to gauge the \
15 metadata leakage resulting from network operations.
16 ",
17 after_help = EXAMPLES,
18 )]
19 pub struct Command {
20 }
21
22 const EXAMPLES: Actions = Actions {
23 actions: &[
24 Action::example()
25 .comment("Inspect the network configuration.")
26 .command(&[
27 "sq", "config", "inspect", "network",
28 ])
29 .build(),
30 ],
31 };
32 test_examples!(sq_config_inspect_network, EXAMPLES);