| Crates.io | crab-hooks |
| lib.rs | crab-hooks |
| version | 0.1.1 |
| created_at | 2025-05-05 20:19:04.544078+00 |
| updated_at | 2025-05-22 19:27:03.436637+00 |
| description | A CLI program for managing git hooks |
| homepage | |
| repository | https://github.com/jaller698/crab_hooks |
| max_upload_size | |
| id | 1661326 |
| size | 98,888 |
A Rust-Based CLI program to manage and run git hooks
cargo install crab-hooks
For now it supports adding the hooks in a yaml file in $HOME_DIR/.config/crab_hooks.yml, alternatively the path to a config file might be passed along as --config-file <CONFIG_FILE_PATH>
Please see the current config in the root folder of the project, for an example of how to set it up.
After adding the hooks to the config, run crab-hooks add HOOK_NAME, where HOOK_NAME is the name given in the config file. This must be done inside the git repo you wish to manage the hooks in.
Currently, crab-hooks supports the following commands: