1.0.2 • Published 2 years ago

diff-verify-cli v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

diff-verify-cli

Verify that a command generates files which match existing files on disk.

npm version

Installation

npm install diff-verify-cli

Usage

Usage
  $ diff-verify -p <path|glob> [--dry-run] -- <command> [...args]

Options
  --dry-run   Skip copying, emitting, diffing, and deleting files on disk. Only log operations
              which would be done.
  --path, -p  A path or glob specifying the files expected to be generated by the command.

Examples
  $ diff-verify -p apps/bot-studio-web/graphql-types.ts -- node_modules/.bin/graphql-codegen --config apps/bot-studio-web/codegen.yml

  $ diff-verify -p apps/admin-web/locales -- pnpm run nx -- run admin-web:linguiExtract

Print help for full usage info:

diff-verify --help