pub struct SkillsInitArgs {
pub path: PathBuf,
pub agents: Vec<AgentHarness>,
pub force: bool,
}Fields§
§path: PathBufDirectory that will contain the skills/ folder. Harness wiring (.claude/, .agents/, AGENTS.md) lands in its parent directory.
agents: Vec<AgentHarness>Harnesses to wire for native skill discovery (comma-delimited).
auto detects from the project; none writes canonical files only.
force: boolOverwrite skill files whose on-disk content differs from the embedded content, and replace non-link entries at harness locations with symlinks. Without it, such paths are skipped with a warning.
Trait Implementations§
Source§impl Args for SkillsInitArgs
impl Args for SkillsInitArgs
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Debug for SkillsInitArgs
impl Debug for SkillsInitArgs
Source§impl FromArgMatches for SkillsInitArgs
impl FromArgMatches for SkillsInitArgs
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(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Auto Trait Implementations§
impl Freeze for SkillsInitArgs
impl RefUnwindSafe for SkillsInitArgs
impl Send for SkillsInitArgs
impl Sync for SkillsInitArgs
impl Unpin for SkillsInitArgs
impl UnsafeUnpin for SkillsInitArgs
impl UnwindSafe for SkillsInitArgs
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