pub enum Commands {
Show 34 variants
Init,
Journey {
action: JourneyAction,
},
Anchor {
action: AnchorAction,
},
Log {
action: LogAction,
},
Tide {
action: TideAction,
},
Map {
action: MapAction,
},
Mutiny {
action: MutinyAction,
},
Config {
action: ConfigAction,
},
Version {
action: VersionAction,
},
View {
action: ViewAction,
},
Test,
Probe {
action: ProbeAction,
},
Optimize {
action: OptimizeAction,
},
Checklist {
action: ChecklistAction,
},
History {
kind: String,
limit: usize,
},
Scrub {
action: ScrubAction,
},
Sweep {
action: SweepCommands,
},
Install,
Activate,
Exec {
cargo_args: Vec<String>,
},
Register {
license_key: Option<String>,
status: bool,
remaining: bool,
},
Idea {
idea: String,
},
Wtf {
action: WtfAction,
},
User,
Debug,
Strip(StripArgs),
Scat {
command: ScatCommand,
},
Tool {
action: ToolAction,
},
Ddr {
action: DockDockRustCommands,
},
Deps {
path: Option<PathBuf>,
json: bool,
},
Liberate {
target: PathBuf,
out: Option<PathBuf>,
},
Tree {
action: Option<TreeAction>,
target: PathBuf,
out: Option<PathBuf>,
no_folders: bool,
no_files: bool,
folder_size: bool,
file_size: bool,
line_count: bool,
dates: bool,
style: String,
yolo: bool,
},
Stub {
action: Option<StubAction>,
target: PathBuf,
out: Option<PathBuf>,
ext: Option<String>,
custom: Option<String>,
find: Option<String>,
skip: Option<String>,
},
Bin {
action: Option<BinAction>,
path: Option<PathBuf>,
name: Option<String>,
out: Option<PathBuf>,
timeout_seconds: u64,
max_depth: Option<usize>,
},
}Variants§
Init
Journey
Fields
§
action: JourneyActionAnchor
Fields
§
action: AnchorActionLog
Tide
Fields
§
action: TideActionMap
Mutiny
Fields
§
action: MutinyActionConfig
Fields
§
action: ConfigActionVersion
Fields
§
action: VersionActionView
Fields
§
action: ViewActionTest
Probe
Fields
§
action: ProbeActionOptimize
Fields
§
action: OptimizeActionChecklist
Fields
§
action: ChecklistActionHistory
Scrub
Fields
§
action: ScrubActionSweep
Fields
§
action: SweepCommandsInstall
Activate
Exec
Register
Idea
Wtf
User
Debug
Strip(StripArgs)
Scat
Fields
§
command: ScatCommandTool
Fields
§
action: ToolActionDdr
Fields
§
action: DockDockRustCommandsDeps
Liberate
Tree
Fields
§
action: Option<TreeAction>Stub
Fields
§
action: Option<StubAction>Bin
Implementations§
Trait Implementations§
Source§impl FromArgMatches for Commands
impl FromArgMatches for Commands
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 Commands
impl Subcommand for Commands
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
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§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 Freeze for Commands
impl RefUnwindSafe for Commands
impl Send for Commands
impl Sync for Commands
impl Unpin for Commands
impl UnsafeUnpin for Commands
impl UnwindSafe for Commands
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more