pub struct AnnotateCommitArgs {
pub sha: Option<String>,
pub write: bool,
pub author: Option<String>,
pub task_description: Option<String>,
pub ctx_task: Option<String>,
pub ctx_plan: Option<String>,
pub quiet: bool,
pub debug_clusters: bool,
}Fields§
§sha: Option<String>Git commit SHA to annotate (default: HEAD).
write: boolWrite derived entries to the ASD ledger. Without this flag the command is a dry-run and only prints suggestions.
Author id written into ledger entries (default: git user.name).
task_description: Option<String>Additional context from the active CTX task (its title or description). Appended to the commit message body when deriving annotations.
ctx_task: Option<String>CTX task ID — written as a ctx:task:<id> provenance tag on every entry.
Also accepts CTXONE_TASK env var.
ctx_plan: Option<String>CTX plan ID — written as a ctx:plan:<id> provenance tag.
Also accepts CTXONE_PLAN env var.
quiet: boolSuppress informational stderr output.
debug_clusters: boolPrint per-doc cluster selection reasoning: terms extracted, top-5 candidates with kind bonus and match score, and why the winner was selected. Only active for docs-only commits.
Trait Implementations§
Source§impl Args for AnnotateCommitArgs
impl Args for AnnotateCommitArgs
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 Debug for AnnotateCommitArgs
impl Debug for AnnotateCommitArgs
Source§impl FromArgMatches for AnnotateCommitArgs
impl FromArgMatches for AnnotateCommitArgs
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.