Skip to content

Latest commit

 

History

History
44 lines (27 loc) · 913 Bytes

README.md

File metadata and controls

44 lines (27 loc) · 913 Bytes

Gendiff

Node.js CI

This package includes CLI app which compares two configuration files and shows a difference

Requirements

  • Node.js >= 14
  • npm >= 6

Installation from npm registry

npm install -g gendiff-ln

Usage

To see the help, use the h option.

gendiff -h

The application supports 3 output diff formats:

  • default (indented format)
  • plain
  • json

You can choose one of them.

gendiff -f plain ./file1.json ./file2.json

Asciinema examples

gendiff default output examlpe

gendiff plain output examlpe

gendiff JSON output examlpe