Skip to content

Global flags ​

Every relgap command accepts these flags, before or after the command name. -h, --help prints the help of any command.

FlagDescriptionTypeDefaultValuesConfig keyNotes
--colorcolorize output: auto, always or neverstringautoauto: color on a terminal unless NO_COLOR is set
always: always color
never: never color
--concurrencyGitHub requests in flight at once, 2 at most without a token (config github.concurrency)int8github.concurrency
--configconfig file to use instead of the discovered .relgap.yaml (env RELGAP_CONFIG)string
--formatoutput format: tty, plain, md, json, sarif, github or openvex (default tty when stdout is a terminal, else plain)stringtty: table with color for a terminal
plain: table without color
md: Markdown
json: JSON envelope for scripts
sarif: SARIF 2.1.0 for code scanning
github: GitHub Actions annotations
openvex: OpenVEX v0.2.0 document
--log-filewrite logs to this file instead of stderrstring
--log-formatlog format: text or jsonstringtexttext: human-readable lines
json: one JSON object per line
--min-confidencehide entries below this confidence, 0..1 (config policy.min_confidence)number0.50: show every entry
0.5: the default: hides keyword-only and unmatched entries
0.7: leading verbs, commit types and headings
0.9: headings, breaking markers and footers only
policy.min_confidence
--no-cacheneither read nor write the HTTP cacheboolnot with --offline, --refresh
--no-inputnever prompt for input; relgap has no prompts yet, so it has no effectbool
--offlineanswer from the HTTP cache only and fail on a missboolnot with --refresh, --no-cache
-q, --quietlog errors onlyboolnot with --verbose
--refreshrevalidate every cached response, even fresh onesboolnot with --offline, --no-cache
-v, --verbosemore logging: -v info, -vv debug, -vvv tracecountnot with --quiet

Each command page lists the --format values that command accepts.