Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eskerda/hooka
just add water
https://github.com/eskerda/hooka
Last synced: 23 days ago
JSON representation
just add water
- Host: GitHub
- URL: https://github.com/eskerda/hooka
- Owner: eskerda
- License: gpl-3.0
- Created: 2021-01-02T00:53:19.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-05-15T12:40:29.000Z (over 3 years ago)
- Last Synced: 2024-10-04T21:38:48.392Z (about 1 month ago)
- Language: Shell
- Homepage:
- Size: 27.3 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Hooka: just add water
An ergonomic bash only zero dependency git hooks manager.
Hooka has been written with the following in mind:
- does not mess up with `.git/hooks` (git ≥ 2.9).
- compatible with running `.git/hooks`.
- No nonsense configuration, no YAML, and can be configured with your text editor.## Usage
```bash
hooka init
# Add and edit a hook step by name
hooka add pre-commit lint# Add an executable file as a hook step
hooka add pre-commit some/path/to/a/file# to test your step
hooka run pre-commit# edit steps / order
hooka edit pre-commit# list steps in hook
hooka ls pre-commit