Interesting in development
herdsman: Git hooks for Dart projects
A Dart command-line tool that keeps Git hooks in one folder of the repository and helps create, activate and disable them.

Git hooks help run checks before a commit or a push, but managing them by hand is inconvenient. herdsman is meant as an analog of husky from the JavaScript world, built for Dart projects.
The --init command creates the .herdsman/githooks folder, copies existing hooks from .git/hooks into it and points Git to that path. With --add you create new hooks with a shebang and error handling, --active makes all hooks executable, and --delete turns a hook into a .sample file while keeping its content.
The tool is useful for teams that want to manage hooks centrally, in one folder inside the repository. It installs as a dev dependency or globally and runs with dart run herdsman.
Open on pub.dev

