crate-cli 10.8.0

A command-line tool for managing Cargo package lifecycles: version bump, workspace dependency sync, members-ordered publish and code formatting.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use super::*;

/// Parsed command line arguments
#[derive(Clone, Debug, Getter, New)]
pub struct Args {
    /// The command to execute
    pub(crate) command: CommandType,
    /// Check mode for fmt
    #[get(type(copy))]
    pub(crate) check: bool,
    /// Manifest path for fmt, bump, publish and sync
    pub(crate) manifest_path: Option<String>,
    /// Bump type for bump command
    pub(crate) bump_type: Option<BumpVersionType>,
    /// Maximum retry attempts for publish command
    #[get(type(copy))]
    pub(crate) max_retries: u32,
}