Global flags
Every relgap command accepts these flags, before or after the command name. -h, --help prints the help of any command.
| Flag | Description | Type | Default | Values | Config key | Notes |
|---|---|---|---|---|---|---|
--color | colorize output: auto, always or never | string | auto | auto: color on a terminal unless NO_COLOR is setalways: always colornever: never color | ||
--concurrency | GitHub requests in flight at once, 2 at most without a token (config github.concurrency) | int | 8 | github.concurrency | ||
--config | config file to use instead of the discovered .relgap.yaml (env RELGAP_CONFIG) | string | ||||
--format | output format: tty, plain, md, json, sarif, github or openvex (default tty when stdout is a terminal, else plain) | string | tty: table with color for a terminalplain: table without colormd: Markdownjson: JSON envelope for scriptssarif: SARIF 2.1.0 for code scanninggithub: GitHub Actions annotationsopenvex: OpenVEX v0.2.0 document | |||
--log-file | write logs to this file instead of stderr | string | ||||
--log-format | log format: text or json | string | text | text: human-readable linesjson: one JSON object per line | ||
--min-confidence | hide entries below this confidence, 0..1 (config policy.min_confidence) | number | 0.5 | 0: show every entry0.5: the default: hides keyword-only and unmatched entries0.7: leading verbs, commit types and headings0.9: headings, breaking markers and footers only | policy.min_confidence | |
--no-cache | neither read nor write the HTTP cache | bool | not with --offline, --refresh | |||
--no-input | never prompt for input; relgap has no prompts yet, so it has no effect | bool | ||||
--offline | answer from the HTTP cache only and fail on a miss | bool | not with --refresh, --no-cache | |||
-q, --quiet | log errors only | bool | not with --verbose | |||
--refresh | revalidate every cached response, even fresh ones | bool | not with --offline, --no-cache | |||
-v, --verbose | more logging: -v info, -vv debug, -vvv trace | count | not with --quiet |
Each command page lists the --format values that command accepts.