pub enum AgentSubcommand {
List {
format: ListFormat,
},
Describe {
name: String,
format: DescribeFormat,
},
EmitSkills {
target: EmitTarget,
scope: EmitScope,
out: Option<PathBuf>,
install: bool,
},
}Expand description
Ungated agent-skill subcommand surface.
Variants§
List
List declared agent capabilities for this tool.
Fields
§
format: ListFormatOutput format.
Describe
Describe one declared agent capability.
EmitSkills
Emit one skill artifact per declared capability.
Trait Implementations§
Source§impl Clone for AgentSubcommand
impl Clone for AgentSubcommand
Source§fn clone(&self) -> AgentSubcommand
fn clone(&self) -> AgentSubcommand
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AgentSubcommand
impl Debug for AgentSubcommand
impl Eq for AgentSubcommand
Source§impl FromArgMatches for AgentSubcommand
impl FromArgMatches for AgentSubcommand
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 AgentSubcommand
impl PartialEq for AgentSubcommand
Source§fn eq(&self, other: &AgentSubcommand) -> bool
fn eq(&self, other: &AgentSubcommand) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AgentSubcommand
Source§impl Subcommand for AgentSubcommand
impl Subcommand for AgentSubcommand
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 AgentSubcommand
impl RefUnwindSafe for AgentSubcommand
impl Send for AgentSubcommand
impl Sync for AgentSubcommand
impl Unpin for AgentSubcommand
impl UnsafeUnpin for AgentSubcommand
impl UnwindSafe for AgentSubcommand
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