Skip to main content

crate_cli/config/
struct.rs

1use super::*;
2
3/// Parsed command line arguments
4#[derive(Clone, Debug, Getter, New)]
5pub struct Args {
6    /// The command to execute
7    pub(crate) command: CommandType,
8    /// Check mode for fmt
9    #[get(type(copy))]
10    pub(crate) check: bool,
11    /// Manifest path for fmt, bump, publish and sync
12    pub(crate) manifest_path: Option<String>,
13    /// Bump type for bump command
14    pub(crate) bump_type: Option<BumpVersionType>,
15    /// Maximum retry attempts for publish command
16    #[get(type(copy))]
17    pub(crate) max_retries: u32,
18}