crate-cli 0.2.5

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
use super::*;

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