pub struct IntelArgs {
pub path: String,
pub by: Option<GroupBy>,
pub format: Option<FormatArg>,
pub fuse: Option<String>,
pub config: Option<String>,
pub owner: Option<String>,
pub tag: Option<String>,
pub message: Option<String>,
}Expand description
Arguments for the intel subcommand.
Fields§
§path: StringPath to scan (default: current directory)
by: Option<GroupBy>Group results by this dimension (default: both)
format: Option<FormatArg>Output format
fuse: Option<String>Fuse-days threshold used for status classification (e.g. “14d”)
config: Option<String>Path to config file (default: .timebomb.toml in scan root or cwd)
owner: Option<String>Only count fuses belonging to this owner (case-insensitive)
tag: Option<String>Only count fuses with this tag (case-insensitive, e.g. “TODO”)
message: Option<String>Only count fuses whose message contains this text (case-insensitive)
Trait Implementations§
Source§impl Args for IntelArgs
impl Args for IntelArgs
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 FromArgMatches for IntelArgs
impl FromArgMatches for IntelArgs
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 IntelArgs
impl RefUnwindSafe for IntelArgs
impl Send for IntelArgs
impl Sync for IntelArgs
impl Unpin for IntelArgs
impl UnsafeUnpin for IntelArgs
impl UnwindSafe for IntelArgs
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