Skip to main content

apply

Function apply 

Source
pub fn apply(
    plan: &SetupPlan,
    config_path: &Path,
    agents_dir: &Path,
) -> Result<Applied>
Expand description

Write the config and install the chosen blueprints.

Config first, and it is the only fallible-and-fatal step: a blueprint that fails to install is reported as a warning rather than aborting, because a written config plus nine of ten agents is a far better place to leave someone than an abandoned run with nothing saved.