hooky-rs

Crates.iohooky-rs
lib.rshooky-rs
version1.0.0
sourcesrc
created_at2024-03-24 16:53:18.607315
updated_at2024-03-24 16:53:18.607315
descriptionGit hooks helper made in Rust
homepage
repository
max_upload_size
id1184532
size8,652
Pedro Augusto (peeeuzin)

documentation

README

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
Commit count: 0

cargo fmt