pub enum SkillCommands {
List,
Install {
source: String,
},
Remove {
name: String,
},
}Expand description
Skills management subcommands
Variants§
List
List all installed skills
Install
Install a new skill from a URL or local path
Remove
Remove an installed skill
Trait Implementations§
Source§impl Clone for SkillCommands
impl Clone for SkillCommands
Source§fn clone(&self) -> SkillCommands
fn clone(&self) -> SkillCommands
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 SkillCommands
impl Debug for SkillCommands
Source§impl<'de> Deserialize<'de> for SkillCommands
impl<'de> Deserialize<'de> for SkillCommands
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl FromArgMatches for SkillCommands
impl FromArgMatches for SkillCommands
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 PartialEq for SkillCommands
impl PartialEq for SkillCommands
Source§impl Serialize for SkillCommands
impl Serialize for SkillCommands
Source§impl Subcommand for SkillCommands
impl Subcommand for SkillCommands
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 subcommandimpl Eq for SkillCommands
impl StructuralPartialEq for SkillCommands
Auto Trait Implementations§
impl Freeze for SkillCommands
impl RefUnwindSafe for SkillCommands
impl Send for SkillCommands
impl Sync for SkillCommands
impl Unpin for SkillCommands
impl UnsafeUnpin for SkillCommands
impl UnwindSafe for SkillCommands
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