Debian Codegraph @

src/cli/config/inspect/paths.rs

raw
1 //! Command-line parser for `sq config inspect paths`.
2
3 use clap::Args;
4
5 use crate::cli::examples::*;
6
7 #[derive(Debug, Args)]
8 #[clap(
9 name = "paths",
10 about = "Inspect relevant paths",
11 long_about = "\
12 Inspect relevant paths
13
14 Prints paths that are used by sq, such as the location of the home \
15 directory, the configuration file, the certificate store, the key \
16 store, etc. \
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 relevant paths.")
27 .command(&[
28 "sq", "config", "inspect", "paths",
29 ])
30 .build(),
31 ],
32 };
33 test_examples!(sq_config_inspect_paths, EXAMPLES);