Skip to content

Tool for comparing two configuration files and print difference.

Notifications You must be signed in to change notification settings

boldurean/gendiff

Repository files navigation

GenDiff

Actions Status Node CI Maintainability Test Coverage

Description

A simple tool for comparing two configuration files like .json & .yaml and show the difference

You can install these packages by the following command:

make install

The help information

Outputs usage information The default help option is -h,--help.

Example:

gendiff -h 

Will print out:

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

Compares two configuration files and shows a difference

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

Usage

Available options stylish, plain, json

  gendiff --format stylish file1.json file2.yml

Stylish output:

asciicast

Plain output:

asciicast

Json output:

asciicast

About

Tool for comparing two configuration files and print difference.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published