Skip to main content

scaffold_project

Function scaffold_project 

Source
pub fn scaffold_project(name: &str) -> Result<()>
Expand description

Generates a new project with the given name in the current directory.

§Examples

use ssg::scaffold::scaffold_project;

// Writes into $CWD — gated `no_run` so doctests don't pollute the workspace.
scaffold_project("my-blog").unwrap();