pub struct TeardownArgs {
pub pack_root: Option<PathBuf>,
pub pack: 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.
pack: Option<PathBuf>Path to the pack root (formerly --workspace). Defaults to the
pack root directory (where .grex/pack.yaml lives). When set,
this path becomes the canonical meta directory: children resolve
parent-relatively as <pack>/<child.path>. The path MUST exist;
symlinks are resolved to their canonical inode (logged as
pack: <input> → <canonical> when it differs). The legacy
--workspace spelling is preserved as a deprecated alias and
emits a one-time warning per process; removal scheduled for
v2.0.0.
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
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 moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
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