pub struct LintArgs {
pub paths: Vec<String>,
pub strict: bool,
pub passthrough: Vec<String>,
}Expand description
ign lint args (07-04, INTR-02) — the ignition-lint delegation:
PATHS map to --target <path> pairs on the child’s arg vector;
-- passthrough args ride verbatim after them (power users:
--profile, --checks, --fail-on, …).
Fields§
§paths: Vec<String>Paths to lint (one –target pair each)
strict: boolExit with the linter’s own exit code (CI mode). Default is the doctor posture: findings + child_exit_code + the parsed report ride as data and the command exits 0 whenever the tool RAN
passthrough: Vec<String>Extra args passed to ignition-lint verbatim (after –)
Trait Implementations§
Source§impl Args for LintArgs
impl Args for LintArgs
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 LintArgs
impl FromArgMatches for LintArgs
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 Forget for LintArgs
impl Freeze for LintArgs
impl Move for LintArgs
impl RefUnwindSafe for LintArgs
impl Send for LintArgs
impl Sync for LintArgs
impl Unpin for LintArgs
impl UnsafeUnpin for LintArgs
impl UnwindSafe for LintArgs
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