Nullean.Snapshots.Cli 0.12.2

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global Nullean.Snapshots.Cli --version 0.12.2
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local Nullean.Snapshots.Cli --version 0.12.2
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Nullean.Snapshots.Cli&version=0.12.2
                    
nuke :add-package Nullean.Snapshots.Cli --version 0.12.2
                    

Nullean.Snapshots.Cli

snapshots.

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.

NuGet

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

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.18.1 65 11/24/2026
0.18.0 1,086 11/17/2026
0.17.0 141 11/17/2026
0.16.0 122 11/16/2026
0.15.0 240 11/16/2026
0.14.0 178 11/15/2026
0.13.0 107 11/14/2026
0.12.2 110 11/14/2026
0.12.1 106 11/12/2026
0.12.0 227 11/12/2026
0.11.0 347 11/11/2026
0.10.1 166 11/11/2026
0.10.0 164 11/11/2026
0.9.0 103 11/11/2026
0.8.1 199 11/11/2026
0.8.0 215 11/11/2026
0.7.0 118 11/10/2026
0.6.0 295 11/5/2026
0.5.0 109 11/5/2026
0.4.0 640 11/5/2026
Loading failed