pub struct PlanArgs {
pub target: Utf8PathBuf,
pub to: String,
pub offline: bool,
pub set: Vec<String>,
pub reserve: Vec<String>,
pub json: bool,
}Expand description
Compute one plan, store it, and print it.
Fields§
§target: Utf8PathBufThe repository to plan for; absolute, or the working directory.
to: StringThe destination release: embedded, latest, or a version.
The default is the release this binary carries, which keeps the default offline.
offline: boolForbid every network read.
set: Vec<String>Answer one decision the plan offers, as <decision-id>=<answer>.
Repeatable. Selecting a decision is what re-plans with it, so an approval binds to the answers it was given with.
reserve: Vec<String>A path no delivered gate judges. Repeatable.
A region another tool renders or hashes. It changes what the landing writes, so it is part of the plan rather than a flag on the apply.
json: boolPrint one JSON object instead of text.
Trait Implementations§
Source§impl Args for PlanArgs
impl Args for PlanArgs
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 PlanArgs
impl FromArgMatches for PlanArgs
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 PlanArgs
impl RefUnwindSafe for PlanArgs
impl Send for PlanArgs
impl Sync for PlanArgs
impl Unpin for PlanArgs
impl UnsafeUnpin for PlanArgs
impl UnwindSafe for PlanArgs
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