Skip to main content

crate_cli/config/
struct.rs

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