CODESEEDSign in
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

  1. 01

    Parsing .githooks.yaml

    YAML Schema: hooks[pre-commit, commit-msg, ...] → list of commands with timeout.

  2. 02

    Installing hooks

    Writes shell scripts in .git/hooks/ that delegate to the manager.

  3. 03

    Parallel execution

    Independent hooks run in parallel with errgroup; the first failure stops everything.

  4. 04

    Formatted Output

    Displays running hooks, their duration, and status.

  5. 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