Enum SkillCommands
pub enum SkillCommands {
List {
agent: Option<String>,
bundle: Option<String>,
},
Add {
name: String,
bundle: Option<String>,
description: Option<String>,
license: Option<String>,
author: Option<String>,
version: Option<String>,
category: Option<String>,
no_scaffold: bool,
edit: bool,
},
Edit {
name: String,
bundle: Option<String>,
file: Option<String>,
},
Bundle {
bundle_command: SkillBundleCommands,
},
Audit {
source: String,
},
Install {
source: String,
agent: Option<String>,
bundle: Option<String>,
no_tier_banner: bool,
skill: Option<String>,
},
Remove {
name: String,
agent: Option<String>,
bundle: Option<String>,
},
Test {
name: Option<String>,
verbose: bool,
},
}Expand description
Skills management subcommands
Variants§
List
List all installed skills
Fields
Add
Scaffold a new skill from scratch (canonical SKILL.md + optional subdirs)
Fields
description: Option<String>What the skill does and when to use it (frontmatter description).
Required; prompted on TTY when missing.
Skill author handle.
Edit
Open a skill’s SKILL.md (or a sibling file) in $EDITOR
Fields
Bundle
Manage skill bundles (the named directories skills live in)
Fields
bundle_command: SkillBundleCommandsAudit
Audit a skill source directory or installed skill name
Install
Install a new skill from a URL or local path
Fields
agent: Option<String>Install into this agent’s assigned bundle (defaults to the active agent). When the agent has no bundle, falls back to the global dir.
Suppress only the install-time tier banner; other install progress output (resolving, installed, audited) is unaffected.
Remove
Remove an installed skill
Fields
Test
Run TEST.sh validation for a skill (or all skills)
Trait Implementations§
Source§impl Clone for SkillCommands
impl Clone for SkillCommands
Source§fn clone(&self) -> SkillCommands
fn clone(&self) -> SkillCommands
1.0.0 (const: unstable) · §fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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>,
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>
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>
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
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
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§
§impl<T> AnyEq for T
impl<T> AnyEq for T
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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>
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>
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