output — CLI output behaviour#
Schema: OutputSettingsConfig in src/thesis/core/config/validators.py. Configures the structured CLI output system (EventBus + OutputRenderer). Every value can be overridden at runtime with CLI flags.
Field |
Type |
Default |
Allowed values |
Description |
|---|---|---|---|---|
|
|
|
|
Default verbosity. |
|
|
|
|
End-of-run summary detail. |
|
|
|
|
Progress bars/spinners. |
|
|
|
|
Output format. |
CLI overrides#
CLI flag |
Effect on this section |
|---|---|
|
|
|
|
|
|
|
|
-v and -q are mutually exclusive — passing both raises click.UsageError.
Example#
output:
verbosity: normal
summary: compact
progress: auto
output_format: human
Auto-disabling progress#
Progress UI is automatically disabled when:
The
CIenvironment variable is set.Output is piped (not a TTY).
The
NO_COLORenvironment variable is set.
Notes#
Verbose mode also raises the loguru console level to DEBUG; quiet drops it to ERROR; normal sits at WARNING.
The summary is rendered after the event stream is detached, so the structured event log and the summary never interleave.
output_format: jsonproduces a single JSON object on stdout containing theRunSummary/BatchSummary— useful for scripted pipelines that want to consume the result programmatically.