Files
ruflo/.claude-plugin/scripts/uninstall.sh
T
rUvandClaude 55f2ea0f8f ✨ Add plugin structure files: marketplace.json, hooks.json, updated docs
- Created .claude-plugin/marketplace.json for marketplace distribution
- Updated hooks/hooks.json with comprehensive hook events
- Fixed all repository references claude-code-flow → claude-flow
- Updated documentation in .claude-plugin/docs/

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-09 20:53:51 +00:00

37 lines
1.3 KiB
Bash
Executable File
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#!/bin/bash
# Claude Flow Plugin Uninstallation Script
set -e
RED='\033[0;31m'
GREEN='\033[0;32m'
YELLOW='\033[1;33m'
NC='\033[0m'
info() { echo -e "${GREEN}ℹ${NC} $1"; }
warning() { echo -e "${YELLOW}⚠${NC} $1"; }
echo -e "${RED}═══════════════════════════════════════════════════${NC}"
echo -e "${RED} Claude Flow Plugin Uninstaller${NC}"
echo -e "${RED}═══════════════════════════════════════════════════${NC}"
echo ""
warning "This will remove Claude Flow commands, agents, and configuration."
read -p "Continue? (y/n): " CONFIRM
if [ "$CONFIRM" != "y" ]; then
echo "Uninstallation cancelled."
exit 0
fi
info "Removing commands..."
find ~/.claude/commands -name "*coordination*" -o -name "*sparc*" -o -name "*github*" -o -name "*hive-mind*" 2>/dev/null | xargs rm -f
info "Removing agents..."
find ~/.claude/agents -name "*coordinator*" -o -name "*swarm*" 2>/dev/null | xargs rm -f
warning "MCP servers NOT removed from settings.json"
echo "Please manually remove from ~/.claude/settings.json if desired"
echo -e "${GREEN}✓ Uninstallation complete${NC}"