pub fn write_template(dir: &Path) -> Result<()>
2026-09-26: Writes the template project. A file whose content already matches is left untouched.