pub struct CommonAnalyzeArgs {
pub logging: LoggingArgs,
pub repo: PathBuf,
pub from: String,
pub to: String,
pub output: Option<PathBuf>,
pub behavioral: bool,
pub pipeline_v2: bool,
pub no_llm: bool,
pub llm_command: Option<String>,
pub llm_all_files: bool,
pub llm_timeout: u64,
}Expand description
Common arguments for the analyze command.
Language crates flatten this into their own XxxAnalyzeArgs struct
and add language-specific flags (e.g., --build-command for TypeScript).
Fields§
§logging: LoggingArgs§repo: PathBufPath to the git repository.
from: StringGit ref to compare from (the “old” version).
to: StringGit ref to compare to (the “new” version).
output: Option<PathBuf>Output file path (writes JSON). Defaults to stdout.
behavioral: boolUse the behavioral analysis (BU) pipeline instead of the default source-level diff (SD) pipeline.
The BU pipeline uses test-delta heuristics and optional LLM inference to detect behavioral breaking changes. The default SD pipeline produces deterministic, AST-based source-level change facts.
pipeline_v2: boolBackwards-compatible alias for the default pipeline (no-op). The SD pipeline is now the default; this flag is accepted but ignored.
no_llm: boolSkip LLM-based behavioral analysis (static analysis only).
llm_command: Option<String>Command to invoke for LLM analysis. The prompt is passed as the final argument.
llm_all_files: boolSend ALL files with changed exported functions to the LLM, not just files that have associated test changes. Only used with –behavioral pipeline.
llm_timeout: u64Timeout in seconds for each LLM invocation.
Trait Implementations§
Source§impl Args for CommonAnalyzeArgs
impl Args for CommonAnalyzeArgs
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 CommonAnalyzeArgs
impl Clone for CommonAnalyzeArgs
Source§fn clone(&self) -> CommonAnalyzeArgs
fn clone(&self) -> CommonAnalyzeArgs
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CommonAnalyzeArgs
impl Debug for CommonAnalyzeArgs
Source§impl FromArgMatches for CommonAnalyzeArgs
impl FromArgMatches for CommonAnalyzeArgs
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.