sentry-cli snapshots diff compares PNG snapshot directories
Introduced 2026-06-02 · score 0.97
HOW TO USE IT
When comparing two local PNG snapshot directories, run `sentry-cli snapshots diff <base-dir> <head-dir>`; the command compares them using odiff.
sentry-cli snapshots diff <base-dir> <head-dir>WHY THIS HELPS
Compare two directories of PNG snapshot images locally.
REQUIREMENTS AND LIMITATIONS
- Version: 3.5.0
- <base-dir> (required): Path to the base snapshot directory.
- <head-dir> (required): Path to the local snapshot directory to compare against the base.
- --fail-on-diff: Used in the documented local verification invocation; its effect is not described on the official page found.
- --selective: Used in the documented local verification invocation; its effect is not described on the official page found.
- Compares directories of PNG snapshot images locally.
FIRST-PARTY EVIDENCE
- https://github.com/getsentry/sentry-cli/releases/tag/3.5.0
- https://blog.sentry.io/snapshots-available-beta/
Check the installed version and the source before using it. Entry JSON