pub struct CheckCommand {
pub commit_range: Option<String>,
pub model: 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,
}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)
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
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
Append to
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>
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.Source§impl Parser for CheckCommand
impl Parser for CheckCommand
Source§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
Parse from iterator, exit on error.
Source§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
Parse from iterator, return Err on error.
Source§fn update_from<I, T>(&mut self, itr: I)
fn update_from<I, T>(&mut self, itr: I)
Auto Trait Implementations§
impl Freeze for CheckCommand
impl RefUnwindSafe for CheckCommand
impl Send for CheckCommand
impl Sync for CheckCommand
impl Unpin for CheckCommand
impl UnwindSafe for CheckCommand
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