Skip to main content

scaffold_project

Function scaffold_project 

Source
pub fn scaffold_project(
    options: &NewProjectOptions,
) -> Result<usize, ScaffoldError>
Expand description

Write the project skeleton only (no git init, no npm install).

Returns the number of files written so callers can report progress.

ยงErrors

Returns an error for invalid names, non-empty targets, invalid local framework paths, or file-system failures.