Skip to content

kermage/aagh

Repository files navigation

aagh -- GitHub License GitHub Release GitHub Downloads (all assets, all releases)

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.

Installation

Prepared Binaries

Download the latest release here.

One-liner Commands

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

Custom Bin Directory

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.

Project Examples

Oneshot command

Simplify project hooks setup

aagh init --apply

About

A cross-platform executable for handling Git hooks

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published