pub struct TwiddleCommand {Show 18 fields
pub commit_range: Option<String>,
pub model: Option<String>,
pub beta_header: Option<String>,
pub auto_apply: bool,
pub save_only: Option<String>,
pub use_context: bool,
pub context_dir: Option<PathBuf>,
pub work_context: Option<String>,
pub branch_context: Option<String>,
pub no_context: bool,
pub concurrency: usize,
pub batch_size: Option<usize>,
pub no_coherence: bool,
pub no_ai: bool,
pub fresh: bool,
pub refine: bool,
pub check: bool,
pub quiet: bool,
}Expand description
Twiddle command options.
Fields§
§commit_range: Option<String>Commit range to analyze and improve (e.g., HEAD~3..HEAD, abc123..def456).
model: Option<String>Claude API model to use (if not specified, uses settings or default).
beta_header: Option<String>Beta header to send with API requests (format: key:value). Only sent if the model supports it in the registry.
auto_apply: boolSkips confirmation prompt and applies amendments automatically.
save_only: Option<String>Saves generated amendments to file without applying.
use_context: boolUses additional project context for better suggestions (Phase 3).
context_dir: Option<PathBuf>Path to custom context directory (defaults to .omni-dev/).
work_context: Option<String>Specifies work context (e.g., “feature: user authentication”).
branch_context: Option<String>Overrides detected branch context.
no_context: boolDisables contextual analysis (uses basic prompting only).
concurrency: usizeMaximum number of concurrent AI requests (default: 4).
batch_size: Option<usize>Deprecated: use –concurrency instead.
no_coherence: boolDisables the cross-commit coherence pass.
no_ai: boolSkips AI processing and only outputs repository YAML.
fresh: boolIgnores existing commit messages and generates fresh ones based solely on diffs. This is the default behavior.
refine: boolUses existing commit messages as a starting point for AI refinement instead of generating fresh messages from scratch.
check: boolRuns commit message validation after applying amendments.
quiet: boolOnly shows errors/warnings, suppresses info-level output.
Implementations§
Trait Implementations§
Source§impl Args for TwiddleCommand
impl Args for TwiddleCommand
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 CommandFactory for TwiddleCommand
impl CommandFactory for TwiddleCommand
Source§impl FromArgMatches for TwiddleCommand
impl FromArgMatches for TwiddleCommand
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.