pub struct SnapshotArgs {Show 14 fields
pub help_agent: bool,
pub intent: Option<String>,
pub confidence: Option<f32>,
pub force: bool,
pub agent_provider: Option<String>,
pub agent_model: Option<String>,
pub agent_session: Option<String>,
pub agent_segment: Option<String>,
pub policy: Option<String>,
pub no_policy: bool,
pub no_agent: bool,
pub split: bool,
pub into: Option<String>,
pub paths: Vec<String>,
}Expand description
Arguments for the capture command.
Fields§
§help_agent: boolReveal the hidden agent-automation flags inline instead of capturing.
A first-class clap flag so the whole command line (including global
options in any spelling clap accepts) is parsed by clap; the dispatch
arm inspects the parsed result rather than scanning raw tokens.
hided to keep everyday capture --help terse (the after-help
pointer is the discovery route). It is still a registered clap arg,
so doctor docs recognizes heddle capture --help-agent via the
registered-but-hidden flag seam — the machine contract stays in sync
without cluttering human help.
intent: Option<String>Natural language intent for this recoverable step.
confidence: Option<f32>Confidence level (0.0-1.0).
force: boolAllow a large or deletion-heavy capture without the safety preflight.
agent_provider: Option<String>Override HEDDLE_AGENT_PROVIDER.
agent_model: Option<String>Override HEDDLE_AGENT_MODEL.
agent_session: Option<String>Override active agent session id.
agent_segment: Option<String>Override active agent session segment.
policy: Option<String>Override HEDDLE_AGENT_POLICY.
no_policy: boolOmit policy attribution.
no_agent: boolOmit agent attribution.
split: boolSplit selected paths into another thread instead of capturing the whole worktree.
into: Option<String>Target thread when using --split.
paths: Vec<String>Repository-relative path prefix to include when using --split.
Trait Implementations§
Source§impl Args for SnapshotArgs
impl Args for SnapshotArgs
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
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Clone for SnapshotArgs
impl Clone for SnapshotArgs
Source§fn clone(&self) -> SnapshotArgs
fn clone(&self) -> SnapshotArgs
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for SnapshotArgs
impl Debug for SnapshotArgs
Source§impl FromArgMatches for SnapshotArgs
impl FromArgMatches for SnapshotArgs
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(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Auto Trait Implementations§
impl Freeze for SnapshotArgs
impl RefUnwindSafe for SnapshotArgs
impl Send for SnapshotArgs
impl Sync for SnapshotArgs
impl Unpin for SnapshotArgs
impl UnsafeUnpin for SnapshotArgs
impl UnwindSafe for SnapshotArgs
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request