Git hooks manager
Project description
hoox
Hoox is git hooks manager
Initialization
For initialization you shuld run init command in project root
hoox init
Optional arguments:
--directoryor--d- directory to store hook scripts. Default is.hooxin project root.
You can use separate directory to store typical hooks for specific language.
In case of already initialized repository you will be prompted to rewrite hoox directory.
Show information
To show current hoox status, hoox directory and enabled hooks, you can run following command
hoox info
Command will show info:
Hoox dir: ./hoox
Enabled hooks:
pre-commit
pre-push
List of supported hooks
Hoox support folowing hooks in current version:
- pre-commit
- pre-push
- commit-msg
- prepare-commit-msg
Run hook
You can run hook for test purpose via
hoox run-hook <hook-name> [hook-arguments ...]
Enabling hooks
By default all hooks are disabled. To enable hook run
hoox enable <hook-name>
Enable hooks realized via adding .sh script that runs hoox run-hook <hook-name> [hook-arguments].
Disabling hookx
To disable hook run
hoox disable <hook-name>
Disable hooks realized via deleting .sh script from previous paragraph. Do not edit those scripts, cause you can lost all changes when hook is disabled.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hoox-0.0.5.tar.gz.
File metadata
- Download URL: hoox-0.0.5.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
761c23749575a1cd249826ffd80950159618ac528fd2181e4bb75833ea30f30d
|
|
| MD5 |
6e82c29ff76a44259b0d6f0ea299490b
|
|
| BLAKE2b-256 |
37740b6727f922684b6d586ad78204fd28ec0a04c34d7b7ce30e4c6743e687a1
|
File details
Details for the file hoox-0.0.5-py3-none-any.whl.
File metadata
- Download URL: hoox-0.0.5-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
33d0b85c2c4b761833c05ad22bdd5c13a6bb069ab024982785d84aebe64301d0
|
|
| MD5 |
63981e6b64e84751d5e78006555cfe66
|
|
| BLAKE2b-256 |
e9c284f8703eccdcceb575241451885faf320044e7ccea981296bf219975164f
|