Getting started
Requirements
- Python 3.13 or newer
gitonPATH- A Git working tree for the consuming repo
Install the CLI
From this checkout:
Add YAML
Create hooks/pre-commit-config.yml and hooks/multiplexer-config.yml in
the consuming repository. List order is run order.
- name: Hello one
filename: hello-one
url: https://github.com/lupaxa-git-hooks-toolbox/test-pre-commit-1
version: HEAD
Each hook source repo ships one file at src/<type> (for example
src/pre-commit). The pre-commit template repo is a starter for new
hook repos, not something to list here.
First run
That writes hooks/pre-commit/01-hello-one, installs the multiplexer as
the pre-commit Git hook, and appends hooks/*/* to .gitignore.
Generated scripts stay local. Re-run with --force to replace them.
Each hook shows Installing <name> -> <path> on one line (yellow, with a
cyan spinner on a TTY), then that line becomes Installed ... in green.