pub enum Command {
Cmd(CmdOptions),
Completion(CompletionOptions),
Custom(Vec<String>),
Eval(EvalOptions),
Exec(ExecOptions),
Grow(GrowOptions),
Init(InitOptions),
Inspect(InspectOptions),
List(ListOptions),
Plant(PlantOptions),
Prune(PruneOptions),
Shell(ShellOptions),
}
Variants§
Cmd(CmdOptions)
Run custom commands over gardens
Completion(CompletionOptions)
Generate shell completions
Custom(Vec<String>)
Custom commands
Eval(EvalOptions)
Evaluate garden expressions
Exec(ExecOptions)
Run commands inside garden environments
Grow(GrowOptions)
Grow garden worktrees into existence
Init(InitOptions)
Initialize a “garden.yaml” garden configuration file
Inspect(InspectOptions)
Query tree status
List(ListOptions)
List available gardens, groups, trees and commands
Plant(PlantOptions)
Add pre-existing worktrees to a garden configuration file
Prune(PruneOptions)
Remove unreferenced Git repositories
Shell(ShellOptions)
Open a shell in a garden environment
Trait Implementations§
source§impl FromArgMatches for Command
impl FromArgMatches for Command
source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches ) -> Result<Self, Error>
source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches ) -> Result<(), Error>
Assign values from
ArgMatches
to self
.source§fn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches ) -> Result<(), Error>
Assign values from
ArgMatches
to self
.source§impl Subcommand for Command
impl Subcommand for Command
source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
source§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Test whether
Self
can parse a specific subcommandAuto Trait Implementations§
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnwindSafe for Command
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