crate-cli 0.2.4

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
/// Available commands
#[derive(Clone, Copy, Debug, Eq, PartialEq)]
pub enum CommandType {
    /// Format code using cargo fmt
    Fmt,
    /// Bump version in Cargo.toml
    Bump,
    /// Publish packages in monorepo
    Publish,
    /// Sync [workspace.dependencies] entry versions and aliases with the
    /// [workspace.package].version declared in the workspace root and the
    /// `[package].name` declared in each member crate.
    Sync,
    /// Show help
    Help,
    /// Show version
    Version,
}