Crates.io | hooky-rs |
lib.rs | hooky-rs |
version | 1.0.0 |
source | src |
created_at | 2024-03-24 16:53:18.607315 |
updated_at | 2024-03-24 16:53:18.607315 |
description | Git hooks helper made in Rust |
homepage | |
repository | |
max_upload_size | |
id | 1184532 |
size | 8,652 |
Git hooks helper made in Rust
cargo install hooky-rs
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.
To add a hook, run the following command:
hooky add <hook-name>
To uninstall Hooky, run the following command:
hooky uninstall