pub struct CheckCommand {Show 15 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 concurrency: usize,
pub batch_size: Option<usize>,
pub no_coherence: bool,
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: boolExits with error code if any issues found (including warnings).
quiet: boolOnly shows errors/warnings, suppresses info-level output.
verbose: boolShows detailed analysis including passing commits.
show_passing: boolIncludes passing commits in output (hidden by default).
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_suggestions: boolSkips generating corrected message suggestions.
twiddle: boolOffers 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.