Skip to main content

semver_cargo/
args.rs

1use clap::Parser;
2
3#[derive(Parser)]
4pub struct Args {
5    /// Stringified JSON containing the SemVer-Release Config.
6    pub config_json: String,
7    /// Stringified JSON containing the new version information from SemVer-Release.
8    pub version: String,
9    /// The Log Level to use for the logger.
10    pub log_level: String,
11    /// Whether or not the version was updated.
12    pub updated: String,
13    /// Flag specifying whether to do dry run publish.
14    #[arg(short, long, default_value = "false")]
15    pub dry_run: String,
16}