githooks system:info¶
Show detected CPU count and current processes configuration.
Synopsis¶
Options¶
| Option | Description |
|---|---|
--config=PATH |
Path to configuration file. |
--format=text\|json |
Output format: text (default, human-readable) or json (machine-readable, clean stdout). An unknown value warns on stderr and falls back to text. |
Output¶
- CPU count detected on the system.
- Processes configured in the configuration file.
- Warning if
processesexceeds available CPUs.
JSON payload¶
processes is null when no usable configuration is found. warning is null
unless processes over-subscribes the available CPUs.
Examples¶
githooks system:info
githooks system:info --config=qa/githooks.php
githooks system:info --format=json
See also¶
- Configuration: Options — the
processesoption. - How-To: Parallel Execution