bash-bastion / hookah

An elegantly minimal solution for Git hooks

Home Page:https://hyperupcall.github.io/hookah

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Warning No longer in development. I use lefthook now.

hookah

An elegantly minimal solution for Git hooks

Why?

I don't wish to use husky, overcommit, and pre-commit for various reasons. None had exactly what I was looking for, so I built a simple solution

Features

  • No configuration
  • Language agnostic (ex. not tied to npm's postinstall)
  • Elegantly minimal

Subcommands

  • refresh
    • Installs Hookah to the local repo (a message will be printed if anything has been updated)
  • check
    • Ensures all hook scripts will work before running Git
  • new
    • Shows a menu of all possible hooks. Selecting one creates a minimal template in the correct location

Installation

Use Basalt, a Bash package manager, to install this project globally

basalt global add hyperupcall/hookah

About

An elegantly minimal solution for Git hooks

https://hyperupcall.github.io/hookah

License:Mozilla Public License 2.0


Languages

Language:Shell 100.0%