Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hyperupcall/hookah
An elegantly minimal solution for Git hooks
https://github.com/hyperupcall/hookah
basalt bash git git-hooks githooks hooks shell
Last synced: 2 months ago
JSON representation
An elegantly minimal solution for Git hooks
- Host: GitHub
- URL: https://github.com/hyperupcall/hookah
- Owner: bash-bastion
- License: mpl-2.0
- Archived: true
- Created: 2022-02-10T21:36:23.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-10T06:31:06.000Z (over 1 year ago)
- Last Synced: 2024-05-22T08:19:54.345Z (6 months ago)
- Topics: basalt, bash, git, git-hooks, githooks, hooks, shell
- Language: Shell
- Homepage: https://hyperupcall.github.io/hookah
- Size: 2.76 MB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
> **Warning**
> **No longer in development. I use [lefthook](https://github.com/evilmartians/lefthook) now.**# hookah
An elegantly minimal solution for Git hooks
## Why?
I don't wish to use [husky](https://github.com/typicode/husky), [overcommit](https://github.com/sds/overcommit), and [pre-commit](https://github.com/pre-commit/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](https://github.com/hyperupcall/basalt), a Bash package manager, to install this project globally
```sh
basalt global add hyperupcall/hookah
```