Skip to content

feat(scripts): add uninstall scripts for Linux/Mac and Windows#33

Open
digvijay-msft wants to merge 1 commit intoEmeaAppGbb:mainfrom
digvijay-msft:feat/uninstall-script
Open

feat(scripts): add uninstall scripts for Linux/Mac and Windows#33
digvijay-msft wants to merge 1 commit intoEmeaAppGbb:mainfrom
digvijay-msft:feat/uninstall-script

Conversation

@digvijay-msft
Copy link
Copy Markdown
Contributor

Adds uninstall.sh and uninstall.ps1 that cleanly remove spec2cloud from a project. Only removes known spec2cloud files (10 agents, 12 prompts, configs) - custom agents/prompts added by the user are preserved. Features: interactive confirmation (skippable with --force), colored output, --remove-specs opt-in, empty directory cleanup. Updates INTEGRATION.md uninstalling section to reference the new scripts.

Adds scripts/uninstall.sh and scripts/uninstall.ps1 that cleanly
remove spec2cloud from a project. Both scripts follow the same
style and conventions as the existing install scripts.

Features:
- Detects and lists what will be removed before proceeding
- Interactive confirmation prompt (skippable with --force)
- Removes agents, prompts, MCP config, devcontainer, apm.yml,
  AGENTS.md, and .spec2cloud backup files
- Cleans up empty directories (.github, .vscode, .devcontainer)
- Preserves specs/ by default (opt-in removal with --remove-specs)
- Colored output with --no-color option
- Usage help with --help

Also updates INTEGRATION.md to document the new uninstall scripts,
replacing the previous manual rm commands.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant