Sign inSign up

flcdrg/verify-cli

By flcdrg

•Updated 2 months ago

Runnable image of https://github.com/flcdrg/Verify.Cli

Image
Developer tools
0

3.6K

flcdrg/verify-cli repository overview

⁠The Verify CLI command

A command-line tool that allows using Verify⁠ for regular files (without requiring you to create a unit test project).

If the file to be compared is not the same as the file.verified.ext file, then a diff is displayed, and the exit code is set to 1.

If the file is identical then no output is displayed and the exit code is 0.

GitHub source⁠

⁠Example usage (Bash)

docker run --rm -v $PWD:/tmp flcdrg/verify-cli --file /tmp/examples/same.json
docker run --rm -v $PWD:/tmp flcdrg/verify-cli --file /tmp/examples/different.json

⁠Example usage (PowerShell)

docker run --rm -v ${pwd}:/tmp verify-cli:latest --file /tmp/examples/same.json
docker run --rm -v ${pwd}:/tmp verify-cli:latest --file /tmp/examples/different.json

Tag summary

Content type

Image

Digest

sha256:a7a6792c9…

Size

40.5 MB

Last updated

2 months ago

docker pull flcdrg/verify-cli