pub struct InstallArgs {
pub source_root: Option<PathBuf>,
pub product: String,
pub live_home: PathBuf,
pub state_home: PathBuf,
pub tag: Option<String>,
pub no_overlay: bool,
pub overlay_path: Option<PathBuf>,
pub dry_run: bool,
pub apply: bool,
}Fields§
§source_root: Option<PathBuf>Source root containing manifests/, core/, targets/, build/.
Defaults to the current working directory.
product: StringProduct to install (codex or claude).
live_home: PathBufAbsolute path of the runtime home (e.g. ~/.codex / ~/.claude).
Relative paths are rejected so install never writes outside an
explicitly-chosen directory.
state_home: PathBufAbsolute path of the state home (where backups land).
tag: Option<String>Tag the backup-run root with a tag-<name> marker file so
gc-backups (Plan 04 Sprint 2 Task 2.4) can preserve it across
retention sweeps. Tag must be ASCII alphanumeric / - / _.
no_overlay: boolSkip the optional .private/link-map.overrides.yaml overlay
merge. Default: merge if file exists.
overlay_path: Option<PathBuf>Override the overlay file location. When set, the conventional
<source-root>/.private/link-map.overrides.yaml is ignored.
dry_run: boolPrint the resolved plan; do not mutate the filesystem.
apply: boolReconcile the runtime home to the plan. Idempotent on the second run.
Trait Implementations§
Source§impl Args for InstallArgs
impl Args for InstallArgs
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 Debug for InstallArgs
impl Debug for InstallArgs
Source§impl FromArgMatches for InstallArgs
impl FromArgMatches for InstallArgs
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.