hooky-cli 1.0.0

Git hooks helper made in Rust
Documentation
  • Coverage
  • 0%
    0 out of 5 items documented0 out of 3 items with examples
  • Size
  • Source code size: 7.9 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.09 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • peeeuzin

Hooky

Git hooks helper made in Rust

Features

  • Zero dependencies
  • Easy to use
  • Fast
  • Cross-platform

Installation

cargo install hooky-cli

Usage

Initialize

To initialize the hooks, run the following command:

hooky init

This will create a .hooky directory in the root of your project, where the hooks will be stored. Also automatically adds pre-commit and hooks, but you can disable this by passing the --no-pre-commit flag.

Add a hook

To add a hook, run the following command:

hooky add <hook-name>

Uninstall Hooky

To uninstall Hooky, run the following command:

hooky uninstall