Skip to main content
Version: 3.x

Output formats

By default, rev-dep config run prints human-readable output for local use.

It truncates the list of displayed issues to up to 5 per detector.

rev-dep config run

If you will to list all issues without truncation, use:

rev-dep config run --list-all-issues

JSON output​

For CI integrations and machine consumers, use:

rev-dep config run --format json
  • returns all issues, not the usual truncated view
  • includes overall failure state
  • with a findings baseline, includes a baseline object with status, counts, and new/obsolete identities; ordinary check issue lists contain only new violations
  • includes workspace-level and check-level results
  • includes fix summary counts
  • includes issue locations where rev-dep can resolve them from the analyzed tree
  • with --lint-config, includes a lint field with the config lint error and warning counts

If you are consuming the JSON programmatically, validate against the published JSON schema. The version field in the output tells you which schema applies - older versions stay published in output-schema/.

Issues-list output​

For a compact, grep-friendly text view, use:

rev-dep config run --format issues-list

This groups issues by type and prints location-oriented output.

With a findings baseline, the summary is followed by all obsolete findings.

If no issues are found, it prints No issues found. With a findings baseline, it instead reports whether the snapshot matched and how many findings are acknowledged.

Exit code​

  • 0 when all enabled checks pass
  • 1 when failures exist, or, with --lint-config, when the config lint finds errors