pub struct TeardownArgs {
pub pack_root: Option<PathBuf>,
pub workspace: Option<PathBuf>,
pub quiet: bool,
pub no_validate: bool,
}Fields§
§pack_root: Option<PathBuf>Pack root. Directory holding .grex/pack.yaml, or the YAML file
itself. When omitted, teardown prints a usage stub and exits 0.
workspace: Option<PathBuf>Override the workspace root. Defaults to the parent pack’s root directory; children resolve as flat siblings.
quiet: boolSuppress per-action log lines.
no_validate: boolSkip plan-phase validators. Debug-only escape hatch.
Trait Implementations§
Source§impl Args for TeardownArgs
impl Args for TeardownArgs
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 Debug for TeardownArgs
impl Debug for TeardownArgs
Source§impl FromArgMatches for TeardownArgs
impl FromArgMatches for TeardownArgs
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 TeardownArgs
impl RefUnwindSafe for TeardownArgs
impl Send for TeardownArgs
impl Sync for TeardownArgs
impl Unpin for TeardownArgs
impl UnsafeUnpin for TeardownArgs
impl UnwindSafe for TeardownArgs
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