pub fn new_part(
project: &Path,
dir: &str,
id: &str,
name: Option<&str>,
) -> Result<PathBuf, String>Expand description
Write a starter manifest to project/dir/<id>.toml.
The scaffold declares two passive pins and leaves the backend commented: the generated file is valid TOML, but the author chooses the engine before the catalog can load it.