Getting Started
Goat Hooker is a CLI tool for creating, managing and executing Git Hooks on any project (including monorepos). It also solves the problem of sharing hooks between different contributors by using explicit configuration files to generate hooks. It also offers pre-made hooks that can be imported into configuration files and configured using a few parameters.
Quick start
Installation
Install Goat Hooker by running the following commands in your terminal:
Create a configuration file
Goat hooker has a tool to generate a basic configuration file. To generate it, just run this command is a bash terminal:
If you wanna do it mannually, you can create a file called hooker.config.yaml
and fill it with these informations:
Run all your hooks
With Goat Hooker, everything is easy to do, so, to run your hooks, just run this command in your shell: