pub enum CommandType {
Fmt,
Watch,
Bump,
Publish,
New,
Template,
Help,
Version,
}Expand description
Available commands
Variants§
Fmt
Format code using cargo fmt
Watch
Watch files using cargo-watch
Bump
Bump version in Cargo.toml
Publish
Publish packages in monorepo
New
Create a new project from template
Template
Generate template components
Help
Show help
Version
Show version
Trait Implementations§
Source§impl Clone for CommandType
impl Clone for CommandType
Source§fn clone(&self) -> CommandType
fn clone(&self) -> CommandType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CommandType
impl Debug for CommandType
Source§impl PartialEq for CommandType
impl PartialEq for CommandType
Source§fn eq(&self, other: &CommandType) -> bool
fn eq(&self, other: &CommandType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for CommandType
impl Eq for CommandType
impl StructuralPartialEq for CommandType
Auto Trait Implementations§
impl Freeze for CommandType
impl RefUnwindSafe for CommandType
impl Send for CommandType
impl Sync for CommandType
impl Unpin for CommandType
impl UnsafeUnpin for CommandType
impl UnwindSafe for CommandType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more