pub struct ArmoryArgs {
pub path: String,
pub limit: usize,
pub fuse: Option<String>,
pub config: Option<String>,
pub blame: bool,
pub owner: Option<String>,
pub tag: Option<String>,
}Expand description
Arguments for the armory subcommand.
Fields§
§path: StringPath to scan (default: current directory)
limit: usizeMaximum number of fuses to show
fuse: Option<String>Fuse-days threshold used for ticking classification (e.g. “14d”)
config: Option<String>Path to config file (default: .timebomb.toml in scan root or cwd)
blame: boolEnrich fuses without an explicit owner with git blame author
owner: Option<String>Only show fuses belonging to this owner (case-insensitive)
tag: Option<String>Only show fuses with this tag (case-insensitive, e.g. “TODO”)
Trait Implementations§
Source§impl Args for ArmoryArgs
impl Args for ArmoryArgs
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 Debug for ArmoryArgs
impl Debug for ArmoryArgs
Source§impl FromArgMatches for ArmoryArgs
impl FromArgMatches for ArmoryArgs
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.Auto Trait Implementations§
impl Freeze for ArmoryArgs
impl RefUnwindSafe for ArmoryArgs
impl Send for ArmoryArgs
impl Sync for ArmoryArgs
impl Unpin for ArmoryArgs
impl UnsafeUnpin for ArmoryArgs
impl UnwindSafe for ArmoryArgs
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
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>
Converts
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>
Converts
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