Skip to main content

plan_template_initialization

Function plan_template_initialization 

Source
pub fn plan_template_initialization(
    root: impl AsRef<Path>,
    options: InitializationOptions,
    package: &TemplatePackage,
    answers: &BTreeMap<String, TemplateAnswerValue>,
) -> Result<InitializationPlan>
Expand description

Produce a complete, read-only plan for adopting an ordinary folder with a validated, exact-version template package and typed answers.