pub enum SkillsCommand {
Show 13 variants
Search {
query: Option<String>,
source: String,
limit: u32,
},
Browse {
page: u32,
size: u32,
source: String,
},
Inspect {
name: String,
},
Install {
identifier: String,
category: String,
force: bool,
yes: bool,
},
List {
source: String,
},
Check {
name: Option<String>,
},
Update {
name: Option<String>,
},
Audit {
name: Option<String>,
},
Uninstall {
name: String,
},
Publish {
skill_path: String,
to: String,
repo: String,
},
Snapshot(SkillsSnapshotCommand),
Tap(SkillsTapCommand),
Config,
}Variants§
Search
Browse
Inspect
Install
List
Check
Update
Audit
Uninstall
Publish
Snapshot(SkillsSnapshotCommand)
Tap(SkillsTapCommand)
Config
Trait Implementations§
Source§impl Clone for SkillsCommand
impl Clone for SkillsCommand
Source§fn clone(&self) -> SkillsCommand
fn clone(&self) -> SkillsCommand
Returns a duplicate of the value. Read more
1.0.0 · 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 SkillsCommand
impl Debug for SkillsCommand
Source§impl FromArgMatches for SkillsCommand
impl FromArgMatches for SkillsCommand
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 SkillsCommand
impl Subcommand for SkillsCommand
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 SkillsCommand
impl RefUnwindSafe for SkillsCommand
impl Send for SkillsCommand
impl Sync for SkillsCommand
impl Unpin for SkillsCommand
impl UnsafeUnpin for SkillsCommand
impl UnwindSafe for SkillsCommand
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