Skip to main content

crate_cli/command/
enum.rs

1/// Available commands
2#[derive(Clone, Copy, Debug, Eq, PartialEq)]
3pub enum CommandType {
4    /// Format code using cargo fmt
5    Fmt,
6    /// Bump version in Cargo.toml
7    Bump,
8    /// Publish packages in monorepo
9    Publish,
10    /// Sync [workspace.dependencies] entry versions and aliases with the
11    /// [workspace.package].version declared in the workspace root and the
12    /// `[package].name` declared in each member crate.
13    Sync,
14    /// Show help
15    Help,
16    /// Show version
17    Version,
18}