signstar_configure/
cli.rs1use clap::Parser;
4use clap_verbosity_flag::Verbosity;
5
6#[derive(Debug, Parser)]
8#[command(
9 about = "Configure a Signstar host and its HSM backends.",
10 long_about = "Configure a Signstar host and its HSM backends.
11
12Reads the Signstar configuration file of the current system.
13Afterwards attempts to synchronize the state of all available HSM backends with that of the configuration file.
14
15Returns a non-zero exit code and an error message on stderr if any of the above fails.
16"
17)]
18pub struct Cli {
19 #[command(flatten)]
21 pub verbosity: Verbosity,
22}