#!/bin/sh
# lan7800-programmer uninstall — remove the wrappers and the user skill.
set -e
for BIN in /usr/local/bin "$HOME/.local/bin"; do
  for f in lan7800prog lan7800-programmer; do
    if [ -f "$BIN/$f" ]; then
      rm -f "$BIN/$f" && echo "removed $BIN/$f"
    fi
  done
done
rm -rf "$HOME/.claude/skills/lan7800-programmer"
echo "uninstalled lan7800-programmer"
