Skip to main content

ManifestArgs

Struct ManifestArgs 

Source
pub struct ManifestArgs {
Show 17 fields pub path: String, pub detonated: bool, pub ticking: Option<String>, pub format: Option<FormatArg>, pub fuse: Option<String>, pub config: Option<String>, pub blame: bool, pub owner: Option<String>, pub tag: Option<String>, pub next: Option<usize>, pub sort: Option<SortBy>, pub file: Vec<String>, pub between: Option<Vec<String>>, pub count: bool, pub no_inert: bool, pub owner_missing: bool, pub output: Option<String>,
}
Expand description

Arguments for the manifest subcommand.

Fields§

§path: String

Path to scan (default: current directory)

§detonated: bool

Only show detonated fuses

§ticking: Option<String>

Only show fuses ticking within this window (e.g. “14d”)

§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)

§blame: bool

Enrich 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”)

§next: Option<usize>

Show only the N soonest-to-detonate fuses

§sort: Option<SortBy>

Sort order for the fuse list (default: date)

§file: Vec<String>

Only show fuses from these files; may be repeated, supports globs (e.g. “src/auth/**”)

§between: Option<Vec<String>>

Only show fuses with expiry dates in this range (inclusive), e.g. –between 2026-01-01 2026-06-30

§count: bool

Print only the count of matching fuses as a plain integer

§no_inert: bool

Hide inert (safe) fuses from output

§owner_missing: bool

Only show fuses with no explicit owner and no git blame result (combine with –blame)

§output: Option<String>

Write the matching fuses as a JSON file (in addition to stdout output)

Trait Implementations§

Source§

impl Args for ManifestArgs

Source§

fn group_id() -> Option<Id>

Report the ArgGroup::id for this set of arguments
Source§

fn augment_args<'b>(__clap_app: Command) -> Command

Append to Command so it can instantiate Self via FromArgMatches::from_arg_matches_mut Read more
Source§

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 more
Source§

impl Debug for ManifestArgs

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl FromArgMatches for ManifestArgs

Source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from ArgMatches, parsing the arguments as needed. Read more
Source§

fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>

Instantiate Self from ArgMatches, parsing the arguments as needed. Read more
Source§

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>

Assign values from ArgMatches to self.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.