pub struct AuditCommand {
pub repo: PathBuf,
pub since: Option<String>,
pub until: Option<String>,
pub format: OutputFormat,
pub require_all_signed: bool,
pub exit_code: bool,
pub author: Option<String>,
pub signer: Option<String>,
pub count: usize,
pub output_file: Option<PathBuf>,
}Expand description
Audit and compliance reporting.
Fields§
§repo: PathBufPath to the Git repository to audit (defaults to current directory).
since: Option<String>Start date for audit period (YYYY-MM-DD or YYYY-QN for quarter).
until: Option<String>End date for audit period (YYYY-MM-DD).
format: OutputFormatOutput format.
require_all_signed: boolRequire all commits to be signed (for CI exit codes).
exit_code: boolReturn exit code 1 if any unsigned commits found.
Filter by author email.
signer: Option<String>Filter by signing identity/device DID.
count: usizeMaximum number of commits to include.
output_file: Option<PathBuf>Output file path (defaults to stdout).
Trait Implementations§
Source§impl Args for AuditCommand
impl Args for AuditCommand
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 Clone for AuditCommand
impl Clone for AuditCommand
Source§fn clone(&self) -> AuditCommand
fn clone(&self) -> AuditCommand
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl CommandFactory for AuditCommand
impl CommandFactory for AuditCommand
Source§impl Debug for AuditCommand
impl Debug for AuditCommand
Source§impl ExecutableCommand for AuditCommand
impl ExecutableCommand for AuditCommand
Source§impl FromArgMatches for AuditCommand
impl FromArgMatches for AuditCommand
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 AuditCommand
impl Parser for AuditCommand
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 AuditCommand
impl RefUnwindSafe for AuditCommand
impl Send for AuditCommand
impl Sync for AuditCommand
impl Unpin for AuditCommand
impl UnsafeUnpin for AuditCommand
impl UnwindSafe for AuditCommand
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