diff-verify-cli

1.0.2 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i diff-verify-cli

Weekly Downloads

7,499

Version

1.0.2

License

MIT

Unpacked Size

161 kB

Total Files

10

Last publish

Collaborators

  • ramaneekgill