gendiff-gkoil
v1.0.0
Published
gendiff will help you find the difference between two [json/yaml/ini] files
Downloads
1
Maintainers
Readme
About
This program for working in the console, which allows to detect differences between three data formats (json, yml, ini) and output them in three different styles ('stylish', 'plain text' and 'json'). You can use different file formats for comparison (for example, json and ini).
Installation
You can install gendiff with npm or build it from source.
You must have node.js installed on your computer (version 14.0 or higher).
npm package
To install gendiff using npm
run
npm i -g gendiff-gkoil
build
- Clone the project on your computer
git clone [email protected]:GKoil/GenDiff.git
- Install dependencies
npm i
- Build this project
make publish
- Install it
make link
Usage
Type gendiff
in the console and pass the path parameters to the files
gendiff ~/project1/before.json ~/project2/after.json
Also you can youse difference output formats
Options
-V
Find out the version
Example:
gendiff -V
-h
Get help in console
Example:
gendiff -h
-f
Choose output stylish format.
Example:
gendiff -f plain file1.json file2.json