#!/bin/bash
# DYNR Module: Purge

run_purge() {
    RED='\033[38;5;196m'; GOLD='\033[38;5;178m'; NC='\033[0m'
    
    echo -e "${RED}🔥 WARNING: This will incinerate the Dynasty Framework.${NC}"
    read -p "Confirm removal? (y/n): " confirm
    if [[ "$confirm" == "y" ]]; then
        sudo rm -rf /opt/dynr
        sudo rm /usr/local/bin/dynr
        echo -e "${GOLD}The Dynasty has retreated into the shadows.${NC}"
        exit 0
    fi
}