Skip to content
Arxo Arxo

Reports and Output Formats

Arxo can emit results in four formats. Choose the one that fits your workflow.

FormatConfig valueUse caseOutput
ConsoleconsoleDefault; terminal, CIstdout
JSONjsonCI, tooling, APIsstdout or report.file
HTMLhtmlHuman review, graphsfile (set report.file)
Snapshotsnapshot or yamlVersioned summariesYAML file (set report.file)

Default when no config is used or report.format is console. Prints metric IDs and values plus policy pass/fail. Exit code is 0 if all invariants pass.

Terminal window
arxo analyze --path .

Use for CI, scripts, or feeding other tools. Pass --json or set report.format: json. Optionally set report.file to write to a path.

report:
format: json
file: report.json
Terminal window
arxo analyze --path . --config config.yaml
# or
arxo analyze --path . --json

Generates a single HTML file with charts and graph visualizations (e.g. core-periphery, cycles). Set report.format: html and report.file to the output path.

report:
format: html
file: report.html

The snapshot reporter produces a version-controllable YAML summary of the architecture: structure, key components, dependencies, and health metrics. Use it to track architecture over time in git.

report:
format: snapshot # or yaml
file: snapshot.yaml

Snapshot contents include group summary, layers, modularity communities, core-periphery structure, hubs, and refactoring recommendations in a readable, diff-friendly format.

See Configuration for the full report section and report.file options.