Here is introduced a cli-app which finds differences in 2 files and shows them in different formats.
Supported file extensions:
- json
- yaml
- yml
Supported output formats:
- stylish (by default)
- plain
- json
- Node 21 is installed.
git clone https://github.com/drgoodness/fullstack-javascript-project-46.git
npm ci
npm linkStart an app. For example:
gendiff -h
Usage: gendiff [options] <filepath1> <filepath2>
Compares two configuration files and shows a difference.
Options:
-V, --version output the version number
-f, --format [type] output format
-h, --help display help for command