Struct sweet_cli::SweetCommand
source · pub struct SweetCommand;Trait Implementations§
source§impl Subcommand for SweetCommand
impl Subcommand for SweetCommand
fn name(&self) -> &'static str
fn about(&self) -> &'static str
fn append_command(&self, command: Command) -> Command
fn run(&self, args: &ArgMatches) -> Result<()>
fn create_command(&self) -> Command
fn subcommands(&self) -> Vec<Box<dyn Subcommand>>
fn run_with_str(&self, args: String) -> Result<(), Error>
fn run_with_cli_args(&self) -> Result<(), Error>
fn run_subs_or_default(&self, args: &ArgMatches) -> Result<(), Error>
fn run_loop(&self) -> Result<(), Error>
Auto Trait Implementations§
impl RefUnwindSafe for SweetCommand
impl Send for SweetCommand
impl Sync for SweetCommand
impl Unpin for SweetCommand
impl UnwindSafe for SweetCommand
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