scaffold_nanook_source_conflict
Diagnostic `nanook::cli::scaffold_nanook_source_conflict`
Summary
`--nanook-path` and `--nanook-git` are mutually exclusive
Help
pass at most one of --nanook-path, --nanook-git, or neither (crates.io default)
Details
When this fires
nanook plugins new got both --nanook-path and --nanook-git, which would produce a Cargo.toml with two contradictory sources for nanook-plugin. Cargo would reject that anyway, so we bail early with a clearer message.
What to check
Pick at most one source. Path beats git beats crates.io default:
# local checkout
# git revision
# crates.io (default, no flag)
If you need a specific crates.io version, use --nanook-version instead.