To the betterment of a project: no more "team, please lint and test" and "it works on my machine". Hopefully.
A cross-platform executable for handling Git hooks
Usage:
aagh [command]
Available Commands:
check Check the repository status in the current directory
init Initialize the repository in the current directory
run Run a hook in the repository of current directory
setup Setup a hook in the repository of current directory
help Help about any command
completion Generate the autocompletion script for the specified shell
Flags:
-h, --help help for aagh
-v, --version version for aagh
Use "aagh [command] --help" for more information about a command.
Download the latest release here.
curl -fsSL https://raw.githubusercontent.com/kermage/aagh/main/install.sh | sh
wget -qO- https://raw.githubusercontent.com/kermage/aagh/main/install.sh | sh
Default install path: /usr/local/bin
sh -c "$(curl -fsSL https://raw.githubusercontent.com/kermage/aagh/main/install.sh)" -- -b <path>
sh -c "$(wget -qO- https://raw.githubusercontent.com/kermage/aagh/main/install.sh)" -- -b <path>
* Make sure <path>
exists and is writeable. Directory creation is intentionally not implemented.
Simplify project hooks setup
aagh init --apply