"use strict";
const installer = require("../lib/hooks-installer");

try {
  const r = installer.uninstall();
  console.log(`已從 ${r.settingsPath} 移除 ${r.removed} 個 Claude Pet hook。`);
  if (r.backupPath) console.log(`原設定備份：${r.backupPath}`);
} catch (err) {
  console.error(err.message || err);
  process.exitCode = 1;
}
