Nullean.Snapshots.Cli
0.13.0
dotnet tool install --global Nullean.Snapshots.Cli --version 0.13.0
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local Nullean.Snapshots.Cli --version 0.13.0
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Nullean.Snapshots.Cli&version=0.13.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package Nullean.Snapshots.Cli --version 0.13.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Nullean.Snapshots.Cli

snap, the native AOT command line tool for Nullean.Snapshots: review, diff, accept and reject pending snapshots, find orphaned ones, and run browser journeys and .http files without a test run.
Install
dotnet tool install --global Nullean.Snapshots.Cli
Quick start
snap # walk through what changed: accept, reject or skip each snapshot
snap status --json # pending snapshots; exits 1 when there are any
snap diff CatalogTests/Renders # full key, unique suffix, or glob
snap accept CatalogTests/Renders # only after reading the diff
snap reject --all # delete received files, keep verified
snap orphans # verified files the last test run did not use
Without installing it: dnx Nullean.Snapshots.Cli accept CatalogTests/Renders.
Journeys, .http files and two sites
snap journey run 'tests/Shop.Tests/journeys/**/*.journey' --base-url http://localhost:5000/
snap http run 'tests/Shop.Tests/http/**/*.http' --env dev --var host=http://localhost:5000
snap journey compare 'journeys/**/*.journey' --baseline https://prod.example.com/ --target https://preview.example.com/
snap http compare 'http/**/*.http' --baseline https://api.example.com --target https://api-preview.example.com
compare fails only on differences no rule in the checked-in {file}.differences expects; --record appends the
rules that would explain a failure instead.
Accepting an inline snapshot edits the string literal in the test's .cs file, so read git diff of the test files
as well as the verified ones.
Learn more
- Documentation: https://snapshots.nullean.net
- The snap CLI: https://snapshots.nullean.net/workflow/snap/
- Expected differences: https://snapshots.nullean.net/workflow/expected-differences/
- Source and issues: https://github.com/nullean/snapshots
There are no supported framework assets in this package.
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.13.0 | 0 | 11/14/2026 |
| 0.12.2 | 36 | 11/14/2026 |
| 0.12.1 | 74 | 11/12/2026 |
| 0.12.0 | 106 | 11/12/2026 |
| 0.11.0 | 288 | 11/11/2026 |
| 0.10.1 | 145 | 11/11/2026 |
| 0.10.0 | 142 | 11/11/2026 |
| 0.9.0 | 82 | 11/11/2026 |
| 0.8.1 | 179 | 11/11/2026 |
| 0.8.0 | 192 | 11/11/2026 |
| 0.7.0 | 96 | 11/10/2026 |
| 0.6.0 | 275 | 11/5/2026 |
| 0.5.0 | 88 | 11/5/2026 |
| 0.4.0 | 611 | 11/5/2026 |
| 0.3.0 | 91 | 11/4/2026 |
| 0.2.0 | 100 | 11/3/2026 |
| 0.1.0 | 90 | 11/3/2026 |
| 0.1.0-alpha.1 | 63 | 11/3/2026 |