#hook #git-hook #helper #uninstall #hooky

bin+lib hooky-rs

Git hooks helper made in Rust

1 stable release

1.0.0 Mar 24, 2024

#4 in #uninstall

Download history 126/week @ 2024-03-22 30/week @ 2024-03-29 5/week @ 2024-04-05

161 downloads per month

MIT license

7KB
141 lines

Hooky

Git hooks helper made in Rust

Features

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

Installation

cargo install hooky-rs

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

No runtime deps