scaffold_already_exists

Diagnostic `nanook::cli::scaffold_already_exists`

Summary

`{0}` already exists; refusing to overwrite

Help

delete the dir or pick a different name

Details

When this fires

nanook plugins new <name> resolved a target directory of mod-<name> (under --path or the cwd) that already exists. We refuse to overwrite, since the dir might contain real work in progress.

What to check

Move the existing directory aside, pick a different name, or drop into a different parent with --path:

rm -rf mod-foo
nanook plugins new foo --kind collector

# different name
nanook plugins new foo_v2 --kind collector

# different parent (e.g. land in crates/)
nanook plugins new foo --kind collector --path crates/