https://github.com/verifytests/verify.terminal
A dotnet tool for managing Verify snapshots.
https://github.com/verifytests/verify.terminal
Last synced: about 1 year ago
JSON representation
A dotnet tool for managing Verify snapshots.
- Host: GitHub
- URL: https://github.com/verifytests/verify.terminal
- Owner: VerifyTests
- License: mit
- Created: 2022-10-15T23:09:30.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-12T11:47:25.000Z (about 2 years ago)
- Last Synced: 2025-04-07T15:53:41.288Z (about 1 year ago)
- Language: C#
- Homepage:
- Size: 83 KB
- Stars: 36
- Watchers: 3
- Forks: 4
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Funding: .github/funding.yml
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Verify.Terminal
A dotnet tool for managing Verify snapshots.
Inspired by the awesome [Insta](https://github.com/mitsuhiko/insta) crate.

## Installation
Install by running the following command:
```bash
dotnet tool install -g verify.tool
```
## Review pending snapshots
```
USAGE:
verify review [OPTIONS]
OPTIONS:
-h, --help Prints help information
-w, --work The working directory to use
-c, --context The number of context lines to show. Defaults to 2
```
```
> dotnet verify review
```
## Accept all pending snapshots
```
USAGE:
verify accept [OPTIONS]
OPTIONS:
-h, --help Prints help information
-w, --work The working directory to use
-y, --yes Confirm all prompts.
```
```
> dotnet verify accept
```
## Reject all pending snapshots
```
USAGE:
verify reject [OPTIONS]
OPTIONS:
-h, --help Prints help information
-w, --work The working directory to use
-y, --yes Confirm all prompts.
```
```
> dotnet verify reject
```
## Building
We're using [Cake](https://github.com/cake-build/cake) as a
[dotnet tool](https://docs.microsoft.com/en-us/dotnet/core/tools/global-tools)
for building. So make sure that you've restored Cake by running
the following in the repository root:
```
> dotnet tool restore
```
After that, running the build is as easy as writing:
```
> dotnet cake
```