sergey20x25-gd
v1.0.8
Published
Hexlet project - gendiff. Differences finding util.
Downloads
2
Readme
Gendiff
Description
Compares two configuration files and shows a difference.
Installation
npm package:
$ npm install -g sergey20x25-gd
Launch
To start type in the console:
$ gendiff <path_to_file_1> <path_to_file_2> [options]
Options:
-V, --version output the version number
-f, --format [type] output format, tree, plain or json (default: "tree")
-h, --help output usage information
json example: yaml example: ini example: recursive json example: plain out example: json out example:
API
var genDiff = require('sergey20x25-gd');
genDiff(pathToFile1, PathToFile2[, format]);
format:
- 'tree'
- 'plain'
- 'json'
Help
For help type gendiff -h in the console:
$ gendiff -h