CLI Reference¶
GitHooks is built on Laravel Zero. Run githooks list to see all available commands.
All commands that read a configuration file accept --config=path to specify a custom path (absolute or relative).
Commands¶
| Command | Description |
|---|---|
githooks flow |
Run a flow (group of jobs). |
githooks job |
Run a single job. |
githooks hook |
Install or remove git hooks. |
githooks status |
Show hook installation status. |
githooks conf:init |
Generate configuration file. |
githooks conf:check |
Validate configuration file. |
githooks conf:migrate |
Migrate v2 config to v3 format. |
githooks cache:clear |
Clear QA tool cache files. |
githooks system:info |
Show CPU and process configuration. |