0.10.2 • Published 1 year ago
@pixdif/cli v0.10.2
Pixdif Command-Line Interface
This is a command-line tool aimed to compare visual differences of files and generate test reports.
License
Installation
npm install @pixdif/cli
npm install @pixdif/png-parser # If you need to compare PNG images.
npm install @pixdif/pdf-parser # If you need to compare PDF documents.
npm install @pixdif/html-reporter # If you need to generate a test report into a web page.Features
Compare two files.
pixdif cmp <expected> <actual>Convert a file (e.g. PDF) into multiple PNG images.
pixdif convert <input>Compare some files in 2 directories.
pixdif diff <expected directory> <actual directory> <file glob pattern>Start a server to view test reports and update baselines.
pixdif serveCheck more details with --help. It's powered by and documented with yargs.
pixdif --help
pixdif <command> --help