| Crates.io | hooky-cli |
| lib.rs | hooky-cli |
| version | 1.0.0-1 |
| created_at | 2024-03-24 15:42:28.215461+00 |
| updated_at | 2024-03-24 16:51:55.053709+00 |
| description | Git hooks helper made in Rust |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1184488 |
| size | 8,757 |
Git hooks helper made in Rust
Crate was renamed from hooky-cli to hooky-rs to avoid library and binary name conflict. If you have hooky-cli installed, please uninstall it and install hooky-rs instead.
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