Output And Scripting
Gitquarry is designed to behave cleanly in pipelines. The main rule is simple:- structured data goes to
stdout - progress and errors go to
stderr
Output Formats
Supported formats:prettyjsoncompactcsv
pretty
Human-first terminal output.
Use it when reading results directly in a shell:
json
Pretty-printed structured output for tools and scripts:
compact
Minified JSON for pipelines or logs:
csv
Flat export-friendly output:
Progress Behavior
Progress is controlled by:autois the default- in
auto, gitquarry only prints progress whenstderris a TTY - progress never goes to
stdout
JSON Examples
Search pipeline:CSV Examples
Export search results:CI-Friendly Usage
For deterministic CI or agent runs:- prefer
jsonorcompact - set
--progress offif you want no progress noise at all - isolate config state with
GITQUARRY_CONFIG_DIR - prefer env tokens over writing credentials into shared state
Error Handling
Errors are:- plain text
- prefixed with a symbolic code
- written to
stderr - returned with exit code
1