An open API service indexing awesome lists of open source software.

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.

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.

![A screenshot of Verify.Terminal](res/screenshot.png)

## 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
```