Problem
If apidrift.config.json already exists and the user answers No to overwrite, apidrift init returns immediately and provides no guidance.
Where
Acceptance Criteria
- If config exists and overwrite is declined, command still prints helpful next steps (at minimum: how to set tokens via
.env/env vars)
- Must not modify the existing config when overwrite is declined
- Exit code remains
0
Nice-to-have (still beginner-friendly)
- Offer to create a
.env file with placeholder tokens and/or ensure .env is in .gitignore
Problem
If
apidrift.config.jsonalready exists and the user answers No to overwrite,apidrift initreturns immediately and provides no guidance.Where
src/commands/init.jsAcceptance Criteria
.env/env vars)0Nice-to-have (still beginner-friendly)
.envfile with placeholder tokens and/or ensure.envis in.gitignore