pub struct GateArgs {
pub id: Option<GateId>,
pub files: Vec<String>,
pub list: bool,
pub explain: Option<String>,
pub include: Vec<String>,
pub exclude: Vec<String>,
}Expand description
Run one delivered gate against the working directory.
Fields§
§id: Option<GateId>The gate to run.
files: Vec<String>Files to judge, or extra record roots — whatever the gate’s hook wiring passes.
A path a gate judges is filtered; a record root it resolves is not.
list: boolList every delivered gate instead of running one.
explain: Option<String>Report which gates judge a path, and the pattern that decided each answer, instead of running anything.
include: Vec<String>Add one include glob to the gate’s declared includes. Repeatable.
A flag adds to the row’s declaration rather than replacing it, and an exclude beats an include.
exclude: Vec<String>Add one exclude glob to the gate’s declared excludes. Repeatable.
Trait Implementations§
Source§impl Args for GateArgs
impl Args for GateArgs
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 GateArgs
impl FromArgMatches for GateArgs
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 GateArgs
impl RefUnwindSafe for GateArgs
impl Send for GateArgs
impl Sync for GateArgs
impl Unpin for GateArgs
impl UnsafeUnpin for GateArgs
impl UnwindSafe for GateArgs
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