pub struct InstructionsArgs {
pub file: Vec<String>,
pub remove: bool,
pub hooks: bool,
}Fields§
§file: Vec<String>Instruction files to write, repo-relative. Defaults to AGENTS.md + CLAUDE.md (the most widely-read conventions). Repeatable.
remove: boolRemove the managed ASD block instead of writing it.
hooks: boolAlso add a non-blocking Claude Code PreToolUse hook (on Grep/Glob) to the project’s .claude/settings.json that nudges toward ASD’s structured search. Repo-scoped, not global. Honors –remove.
Trait Implementations§
Source§impl Args for InstructionsArgs
impl Args for InstructionsArgs
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 InstructionsArgs
impl Debug for InstructionsArgs
Source§impl FromArgMatches for InstructionsArgs
impl FromArgMatches for InstructionsArgs
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 InstructionsArgs
impl RefUnwindSafe for InstructionsArgs
impl Send for InstructionsArgs
impl Sync for InstructionsArgs
impl Unpin for InstructionsArgs
impl UnsafeUnpin for InstructionsArgs
impl UnwindSafe for InstructionsArgs
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