dart_husky 1.2.1 copy "dart_husky: ^1.2.1" to clipboard
dart_husky: ^1.2.1 copied to clipboard

A pure-Dart CLI tool to manage Git hooks (pre-commit, commit-msg, pre-push) in any Dart or Flutter project. Similar to husky and lefthook.

example/example.dart

// Example dart_husky.yaml configuration:
//
// pre-commit:
//   commands:
//     format:
//       run: dart format --set-exit-if-changed .
//     analyze:
//       run: dart analyze
//
// commit-msg:
//   commands:
//     conventional:
//       preset: conventional
//
// Run: dart run dart_husky install

void main() {
  // dart_husky is a CLI tool.
  // See README.md for full usage instructions.
}
1
likes
160
points
--
downloads

Documentation

API reference

Publisher

verified publishermoulibheemaneti.com

A pure-Dart CLI tool to manage Git hooks (pre-commit, commit-msg, pre-push) in any Dart or Flutter project. Similar to husky and lefthook.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

args, glob, path, yaml

More

Packages that depend on dart_husky