pub struct TwiddleCommand {Show 14 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 batch_size: usize,
pub no_ai: bool,
pub fresh: bool,
pub check: 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: boolSkip confirmation prompt and apply amendments automatically
save_only: Option<String>Save generated amendments to file without applying
use_context: boolUse 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>Specify work context (e.g., “feature: user authentication”)
branch_context: Option<String>Override detected branch context
no_context: boolDisable contextual analysis (use basic prompting only)
batch_size: usizeMaximum number of commits to process in a single batch (default: 4)
no_ai: boolSkip AI processing and only output repository YAML
fresh: boolIgnore existing commit messages and generate fresh ones based solely on diffs
check: boolRun commit message validation after applying amendments
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.