pub struct MatrixArgs {
pub config: Option<PathBuf>,
pub command: Option<String>,
pub packages: Vec<String>,
pub verbose: bool,
}Fields§
§config: Option<PathBuf>Path to YAML config (defaults to <workspace>/matrix.yaml)
command: Option<String>Which command to run. This can be either:
- a name from
commands:(recommended), or - an inline command template string.
Per-entry command: overrides this.
packages: Vec<String>Only run matrix entries for these packages (repeatable).
Example: cargo matrix --command check -p zeroos -p spike-platform
verbose: boolPrint commands as they run
Trait Implementations§
Source§impl Args for MatrixArgs
impl Args for MatrixArgs
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§impl Clone for MatrixArgs
impl Clone for MatrixArgs
Source§fn clone(&self) -> MatrixArgs
fn clone(&self) -> MatrixArgs
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MatrixArgs
impl Debug for MatrixArgs
Source§impl FromArgMatches for MatrixArgs
impl FromArgMatches for MatrixArgs
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 MatrixArgs
impl RefUnwindSafe for MatrixArgs
impl Send for MatrixArgs
impl Sync for MatrixArgs
impl Unpin for MatrixArgs
impl UnsafeUnpin for MatrixArgs
impl UnwindSafe for MatrixArgs
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