pub struct InitArgs {
pub target: Option<Utf8PathBuf>,
pub profile: Option<ProfileId>,
pub stage: Option<Utf8PathBuf>,
pub incremental: bool,
pub apply: bool,
pub dry_run: bool,
pub reserve: Vec<String>,
pub docs_scratch: Option<String>,
pub writing_style: Option<String>,
}Expand description
Install the payload into a target repository.
Fields§
§target: Option<Utf8PathBuf>The target repository; must be an absolute path. With --stage, it
defaults to the working directory and must be the stage’s target.
profile: Option<ProfileId>The profile to install.
stage: Option<Utf8PathBuf>Land the choices a stage recorded: its profile, docs scratch, writing style, reserved paths, and acquisition decision. The landing still renders every byte from this binary; only the stage’s receipt is read, and a receipt another release wrote refuses.
incremental: boolLand beside a corpus that stays, on a target classified migration,
with no archive, and record each budget finding of the corpus as
debt. The operator names this scope: sdd migrate is the default
for such a target.
apply: boolWrite into a non-empty target that has no instance yet.
dry_run: boolPreview only; write nothing.
reserve: Vec<String>A path no delivered gate judges, recorded under reserved: in the
instance’s declaration. Repeatable.
Use it for a region another tool owns. Omitted, a recorded value stays.
docs_scratch: Option<String>Where material that is not a statement yet is kept, as a path that may
leave the repository, or none to clear a recorded value. Omitted,
the recorded value stays.
writing_style: Option<String>Where the writing style comes from: builtin routes authors to
sdd method writing-style, project:<PATH> routes them to the
project’s own document, and none installs no route and imposes no
conversion obligation. Recorded in the instance’s declaration,
unless the declaration already holds that selection; a missing key
holds builtin. Omitted, the recorded value stays.
Trait Implementations§
Source§impl Args for InitArgs
impl Args for InitArgs
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
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl FromArgMatches for InitArgs
impl FromArgMatches for InitArgs
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>
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>
ArgMatches to self.