pub struct ScanArgs {
pub prompt: Vec<String>,
pub focus: String,
pub mode: Option<ScanMode>,
pub profile: Option<String>,
pub runner: Option<String>,
pub model: Option<String>,
pub effort: Option<String>,
pub repo_prompt: Option<RepoPromptMode>,
pub runner_cli: RunnerCliArgs,
}Fields§
§prompt: Vec<String>Optional focus prompt as positional argument (alternative to –focus).
focus: StringOptional focus prompt to guide the scan.
mode: Option<ScanMode>Scan mode: maintenance for code hygiene and bug finding, innovation for feature discovery and enhancement opportunities, general (default) when only focus prompt is provided.
profile: Option<String>Named configuration profile to apply before resolving CLI overrides. Examples: quick, thorough, quick-fix
runner: Option<String>Runner to use. CLI flag overrides config defaults (project > global > built-in).
model: Option<String>Model to use. CLI flag overrides config defaults (project > global > built-in).
effort: Option<String>Codex reasoning effort. CLI flag overrides config defaults (project > global > built-in). Ignored for opencode and gemini.
repo_prompt: Option<RepoPromptMode>RepoPrompt mode (tools, plan, off). Alias: -rp.
runner_cli: RunnerCliArgsTrait Implementations§
Source§impl Args for ScanArgs
impl Args for ScanArgs
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 ScanArgs
impl FromArgMatches for ScanArgs
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 ScanArgs
impl RefUnwindSafe for ScanArgs
impl Send for ScanArgs
impl Sync for ScanArgs
impl Unpin for ScanArgs
impl UnsafeUnpin for ScanArgs
impl UnwindSafe for ScanArgs
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