pub struct InitArgs {
pub target: Utf8PathBuf,
pub profile: ProfileId,
pub apply: bool,
pub dry_run: bool,
pub plan_zone: Option<String>,
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: Utf8PathBufThe target repository; must be an absolute path.
profile: ProfileIdThe profile to install.
apply: boolWrite into a non-empty target that has no instance yet.
dry_run: boolPreview only; write nothing.
plan_zone: Option<String>Where the planning tool writes entry documents: a repository-relative
path, untracked:<PATH>, env, or none. Write ./none or ./env
for a directory carrying either name. Omitted, the recorded value
stays.
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.
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.