Skip to main content

Reference

Every command, flag, exit code, and file gitq reads or writes.

๐Ÿ“„๏ธJSON output

Every command accepts --json (see Global flags) and prints one JSON document to stdout instead of its human summary, through a single shared function, emit() (src/cli/output.ts:4-7). The shapes on this page come from the actual value each command passes to emit(), read at the source, not from a written schema. Most are real captures against a scratch repo, trimmed for length where the real output is long; a few, noted as such, are described from the source type they are built from rather than a live run, because reaching that exact state (a real publish, a specific per branch failure) either needs a real forge API, which this task did not touch, or a lengthy setup for a shape already fully specified in source.

๐Ÿ“„๏ธConfiguration

gitq has two independent local configuration surfaces, read by two different processes, plus a shared settings store that can override individual keys of either. The CLI reads a settings file inside its own config directory. The board reads a config.json sitting in the app root. Neither reads the other's file, and nothing in the CLI reads anything from the board's config.json. The rt settings store sits above both: when it owns a key (or, for gitq.workSlots, a field of one), that value wins over whichever file would otherwise have answered.