pub struct ContextUpdateArgs {
pub section: Vec<String>,
pub file: Option<PathBuf>,
pub interactive: bool,
pub dry_run: bool,
pub output: Option<PathBuf>,
}Fields§
§section: Vec<String>Section to update (can be specified multiple times)
file: Option<PathBuf>File containing new learnings to append
interactive: boolInteractive mode to select sections and input learnings
dry_run: boolDry run - preview changes without writing
output: Option<PathBuf>Output path (default: existing AGENTS.md location)
Trait Implementations§
Source§impl Args for ContextUpdateArgs
impl Args for ContextUpdateArgs
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 FromArgMatches for ContextUpdateArgs
impl FromArgMatches for ContextUpdateArgs
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 ContextUpdateArgs
impl RefUnwindSafe for ContextUpdateArgs
impl Send for ContextUpdateArgs
impl Sync for ContextUpdateArgs
impl Unpin for ContextUpdateArgs
impl UnsafeUnpin for ContextUpdateArgs
impl UnwindSafe for ContextUpdateArgs
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