#!/usr/bin/env node const {removeHooks} = require("./simple-git-hooks"); function uninstall() { console.log("[INFO] Removing git hooks from .git/hooks") try { removeHooks() console.log("[INFO] Successfully removed all git hooks") } catch (e) { console.log("[INFO] Couldn't remove git hooks. Reason: " + e) } } uninstall()