pub struct GlobalOptions {Show 17 fields
pub full_gitmoji: bool,
pub context: Option<String>,
pub skip_confirmation: bool,
pub show_prompt: bool,
pub no_pre_hooks: bool,
pub no_post_hooks: bool,
pub generate_count: u8,
pub clipboard: bool,
pub exclude_files: Option<Vec<String>>,
pub timing: bool,
pub strip_thinking: bool,
pub print_message: bool,
pub output_format: OutputFormat,
pub prompt_file: Option<String>,
pub dry_run: bool,
pub edit: bool,
pub skill: Option<String>,
}Fields§
§full_gitmoji: boolUse full GitMoji specification
context: Option<String>Additional user input context for the commit message
skip_confirmation: boolSkip commit confirmation prompt
show_prompt: boolShow the prompt that would be used without generating commit
no_pre_hooks: boolDisable running pre-hooks
no_post_hooks: boolDisable running post-hooks
generate_count: u8Number of commit message variations to generate (1-5)
clipboard: boolCopy generated message to clipboard instead of committing
exclude_files: Option<Vec<String>>Exclude specific files from the diff sent to AI
timing: boolShow detailed timing information
strip_thinking: boolStrip
print_message: boolOutput commit message to stdout instead of committing (for hooks)
output_format: OutputFormatOutput format (pretty, json, markdown)
prompt_file: Option<String>Use a custom prompt template file
dry_run: boolPreview the generated commit message without committing (dry-run mode)
edit: boolOpen the generated message in $EDITOR before committing
skill: Option<String>Use a specific skill for commit generation
Trait Implementations§
Source§impl Args for GlobalOptions
impl Args for GlobalOptions
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 Clone for GlobalOptions
impl Clone for GlobalOptions
Source§fn clone(&self) -> GlobalOptions
fn clone(&self) -> GlobalOptions
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl CommandFactory for GlobalOptions
impl CommandFactory for GlobalOptions
Source§impl FromArgMatches for GlobalOptions
impl FromArgMatches for GlobalOptions
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 GlobalOptions
impl Parser for GlobalOptions
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 GlobalOptions
impl RefUnwindSafe for GlobalOptions
impl Send for GlobalOptions
impl Sync for GlobalOptions
impl Unpin for GlobalOptions
impl UnsafeUnpin for GlobalOptions
impl UnwindSafe for GlobalOptions
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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