pub struct CheckCommand {Show 13 fields
pub commit_range: Option<String>,
pub model: Option<String>,
pub beta_header: Option<String>,
pub context_dir: Option<PathBuf>,
pub guidelines: Option<PathBuf>,
pub format: String,
pub strict: bool,
pub quiet: bool,
pub verbose: bool,
pub show_passing: bool,
pub batch_size: usize,
pub no_suggestions: bool,
pub twiddle: bool,
}Expand description
Check command options - validates commit messages against guidelines
Fields§
§commit_range: Option<String>Commit range to check (e.g., HEAD~3..HEAD, abc123..def456) Defaults to commits ahead of main branch
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
context_dir: Option<PathBuf>Path to custom context directory (defaults to .omni-dev/)
guidelines: Option<PathBuf>Explicit path to guidelines file
format: StringOutput format: text (default), json, yaml
strict: boolExit with error code if any issues found (including warnings)
quiet: boolOnly show errors/warnings, suppress info-level output
verbose: boolShow detailed analysis including passing commits
show_passing: boolInclude passing commits in output (hidden by default)
batch_size: usizeNumber of commits to process per AI request (default: 4)
no_suggestions: boolSkip generating corrected message suggestions
twiddle: boolOffer to apply suggested messages when issues are found
Implementations§
Trait Implementations§
Source§impl Args for CheckCommand
impl Args for CheckCommand
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 CheckCommand
impl CommandFactory for CheckCommand
Source§impl FromArgMatches for CheckCommand
impl FromArgMatches for CheckCommand
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.