| Crates.io | shell-hooks |
| lib.rs | shell-hooks |
| version | 0.1.2 |
| created_at | 2019-02-11 12:35:34.78708+00 |
| updated_at | 2019-02-11 12:40:40.959459+00 |
| description | Run ``pre`` and ``post`` hooks while executing a command, just like githooks but for all programs. |
| homepage | |
| repository | |
| max_upload_size | |
| id | 114066 |
| size | 8,623 |
Run pre and post hooks while executing a command, just like githooks but for all programs.
cargo install --path ..~/.bashrc by wrapping it with shell-hooks. Like alias git = 'shell-hooks git'.~/.local/share/dshell/definitions/. The file format is toml. The filename does not matter, only content does.Currently there are only two useful fields for hook type, the trigger and action.
/ and preceded by /cmd/. So git commit becomes /cmd/git/commit.If you have any contribution idea, please create an issue.
MIT License