https://github.com/shramkoweb/cli-diff-generator
A utility for finding differences in configuration files. ⚙️
https://github.com/shramkoweb/cli-diff-generator
ci cli command-line commander diff github-actions ini json makefile nodejs yaml
Last synced: 5 months ago
JSON representation
A utility for finding differences in configuration files. ⚙️
- Host: GitHub
- URL: https://github.com/shramkoweb/cli-diff-generator
- Owner: Shramkoweb
- Created: 2020-06-15T08:58:13.000Z (about 5 years ago)
- Default Branch: develop
- Last Pushed: 2024-10-18T20:29:26.000Z (9 months ago)
- Last Synced: 2024-12-07T11:07:32.497Z (7 months ago)
- Topics: ci, cli, command-line, commander, diff, github-actions, ini, json, makefile, nodejs, yaml
- Language: JavaScript
- Homepage:
- Size: 830 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## 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:
```shell script
$ 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:
[](https://asciinema.org/a/Mf12iQsBgMs3KtShNDxeY2t4S)
### File Comparison with STYLISH Output:
[](https://asciinema.org/a/l0lTgJzWPUOsGidSmaptSsiHj)
### File Comparison with PLAIN Output:
[](https://asciinema.org/a/7q3RtpIpRTu6uEtIIrGgT32fb)
Created by [Serhii Shramko](https://shramko.dev/).