Generator differences

Hexlet tests and linter status:

Actions Status CI Maintainability Test Coverage

The tool for finding differences in two configuraion files.

The tool compares two files and display differences in some formats(stylish, plain, json). The tool supports files: .json, .yml, .yaml.

Install

Requirements:

  • Nodejs lts version >= 14
  • npm
  • make
make install

Usage

Tool has some formatters: stylish, plain, json (default: stylish).Tool supports some formats of file: .json, .yml, .yaml. Examples are here

gendiff -h
Usage: gendiff [options] <filepath1> <filepath2>

Compares two configuration files and shows a difference

Options:
  -V, --version                        output the version number
  -f, --format [stylish, plain, json]  output format (default: "stylish")
  -h, --help                           output usage information

Expample

asciicast