BMAD-METHOD/tools/cli/commands
Davor Racić 54876a6af3 fix(cli): address code review findings for uninstall command
- Add path traversal guard in uninstallOutputFolder (resolve + startsWith)
- Thread silent flag through to cleanupCopilotInstructions
- Trim text input before path.resolve in directory prompt
- DRY uninstall() by delegating to extracted helper methods
- Validate projectDir existence before probing for BMAD
- Use fs.rmdir instead of fs.remove in removeEmptyParents (race safety)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 17:44:31 +01:00
..
install.js fix: installer fixes and non-interactive mode improvements (#1612) 2026-02-09 19:32:38 -06:00
status.js refactor: Complete @clack/prompts Migration & Installer Output Consolidation (#1586) 2026-02-08 00:40:13 -06:00
uninstall.js fix(cli): address code review findings for uninstall command 2026-02-14 17:44:31 +01:00