Explore projects
Goadvancedcli
Git Hooks Manager
CLI manager for git hooks: installation, versioning, team sharing via a .githooks.yaml file, and parallel execution.
5 steps
Project steps
- 01
Parsing .githooks.yaml
YAML Schema: hooks[pre-commit, commit-msg, ...] → list of commands with timeout.
- 02
Installing hooks
Writes shell scripts in .git/hooks/ that delegate to the manager.
- 03
Parallel execution
Independent hooks run in parallel with errgroup; the first failure stops everything.
- 04
Formatted Output
Displays running hooks, their duration, and status.
- 05
Skip & force
GITHOOKS_SKIP=pre-commit or --force flag for selective bypass.
Recommended resources
Ready to build this?
Fork the repo on GitHub and start building. A mentor will review your code when you open a PR.
5 steps
Tech stack
Gocobragopkg.in/yaml.v3os/execerrgroup