Skip to main content

vulkro-sf metadiff

Lists which metadata components were added, removed or changed between two snapshots of the same org, grouped by change kind and metadata type.

vulkro-sf metadiff ./release-1.4 ./release-1.5
vulkro-sf metadiff ./release-1.4 ./release-1.5 --format json > metadiff.json

Each snapshot is a retrieved metadata folder or an SFDX source tree, for example a committed baseline and the current working tree. The output is a plain change log for a release note, an audit trail or a pull request description: no risk score, no weighting. To score the deployment risk of a difference, use vulkro-sf diff.

  • Added: in the second snapshot, not the first.
  • Removed: in the first snapshot, not the second.
  • Changed: in both, with different content.

It reads local folders only and opens no org connection.

Argument or flagWhat it does
<snapshotA>Baseline (the earlier state).
<snapshotB>Current (the later state).
--format <table|json>Output format. Default table.

Exit codes​

CodeMeaning
0The snapshots are identical.
1At least one change was found and listed.
2Error (a snapshot is not a readable folder, unknown --format).

Command reference​

Generated from vulkro-sf metadiff --help (vulkro-sf 0.33.0). Run scripts/gen-docs.sh in the product repository to refresh it; do not edit this section by hand.

List what changed between two metadata snapshots.

vulkro-sf metadiff [OPTIONS] <snapshotA> <snapshotB>

Arguments​

ArgumentDescription
<snapshotA>Baseline snapshot (the earlier state)
<snapshotB>Current snapshot (the later state). The change log describes moving from A to B.

Options​

FlagDescription
-f, --format <FORMAT>Output format: table or json. Default: table.
-v, --verbose...Bump stderr log verbosity. -v enables debug-level tracing for the vulkro + vulkro_sf targets; -vv enables trace. Honoured only when RUST_LOG is unset (an explicit RUST_LOG always wins)
-q, --quietPrint only warnings and errors on stderr: no progress, tips or next-step hints. Results on stdout and exit codes are unchanged.
--no-colorTurn off coloured output. Colour is also off when NO_COLOR is set to a non-empty value or TERM=dumb.
-h, --helpPrint help (see a summary with '-h')
Full vulkro-sf metadiff --help
List what changed between two metadata snapshots.

Show the plain metadata change log between two source snapshots (baseline diff + change traceability).

`<snapshotA>` and `<snapshotB>` are two retrieved-metadata folders or SFDX source trees of the SAME org at different points in time (e.g. a committed baseline and the current working tree). The command builds a component map for each snapshot and lists which components were ADDED (in B, not A), REMOVED (in A, not B), or CHANGED (in both, different content), grouped by change kind and metadata type.

This is DISTINCT from `vulkro-sf diff`: `diff` scores the DEPLOYMENT RISK of an org-to-org delta (a weighted blast-radius number), whereas `metadiff` is a plain CHANGE LOG for traceability - no risk score, no weighting, just "what changed between these two snapshots", suitable for a release note, an audit trail, or a PR description.

Exit codes: 0 = snapshots identical (no change); 1 = at least one change was found and listed (the actionable "there are changes to record" state); 2 = error (a snapshot path is not a readable directory, or an unknown --format).

Usage: vulkro-sf metadiff [OPTIONS] <snapshotA> <snapshotB>

Arguments:
<snapshotA>
Baseline snapshot (the earlier state)

<snapshotB>
Current snapshot (the later state). The change log describes moving from A to B

Options:
-f, --format <FORMAT>
Output format: table or json

[default: table]

-v, --verbose...
Bump stderr log verbosity. `-v` enables debug-level tracing for the `vulkro` + `vulkro_sf` targets; `-vv` enables trace. Honoured only when `RUST_LOG` is unset (an explicit `RUST_LOG` always wins)

-q, --quiet
Print only warnings and errors on stderr: no progress, tips or next-step hints. Results on stdout and exit codes are unchanged

--no-color
Turn off coloured output. Colour is also off when NO_COLOR is set to a non-empty value or TERM=dumb

-h, --help
Print help (see a summary with '-h')