Skip to content
This repository was archived by the owner on Aug 10, 2023. It is now read-only.

bash-bastion/hookah

Folders and files

NameName
Last commit message
Last commit date

Latest commit

1fed0de · Aug 10, 2023

History

45 Commits
Mar 23, 2022
Jun 25, 2022
Jan 24, 2023
Mar 23, 2022
Mar 7, 2022
Jul 18, 2022
Jul 18, 2022
Mar 7, 2022
Sep 6, 2022
Aug 10, 2023
Mar 23, 2022
Jul 18, 2022
Jul 18, 2022

Repository files navigation

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