Skip to main content

hyperlane_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    /// Watch files using cargo-watch
7    Watch,
8    /// Bump version in Cargo.toml
9    Bump,
10    /// Publish packages in monorepo
11    Publish,
12    /// Sync [workspace.dependencies] entry versions and aliases with the
13    /// [workspace.package].version declared in the workspace root and the
14    /// `[package].name` declared in each member crate.
15    Sync,
16    /// Create a new project from template
17    New,
18    /// Generate template components
19    Template,
20    /// Show help
21    Help,
22    /// Show version
23    Version,
24}