pub struct CheckCommand {Show 14 fields
pub commit_range: Option<String>,
pub context_dir: Option<PathBuf>,
pub guidelines: Option<PathBuf>,
pub output: OutputFormat,
pub format: Option<OutputFormat>,
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 the default base branch (origin/main, origin/master, main, or master).
context_dir: Option<PathBuf>Path to custom context directory (defaults to .omni-dev/).
guidelines: Option<PathBuf>Explicit path to guidelines file.
output: OutputFormatOutput format.
format: Option<OutputFormat>Deprecated: use -o/--output instead.
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.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
Source§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, 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 UnsafeUnpin 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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more