Skip to content

A utility for finding differences in configuration files. ⚙️

Notifications You must be signed in to change notification settings

Shramkoweb/CLI-diff-generator

Repository files navigation

Description

This project implements a utility for finding differences in configuration files.

Requirements

  • Node.js 14+
  • CLI 😄

Utility Features:

  • Support for various file formats (JSON, YAML, INI)
  • Generates reports in plain text, pretty, and JSON formats

Example Usage:

$ gendiff --format plain first-config.ini second-config.ini
Setting "common.setting2" deleted.
Setting "common.setting4" added with value "blah blah".
Setting "group1.baz" changed from "bas" to "bars".
Section "group2" deleted.

File Comparison with JSON Output:

asciicast

File Comparison with STYLISH Output:

asciicast

File Comparison with PLAIN Output:

asciicast

Created by Serhii Shramko.