Skip to content

Latest commit

 

History

History
48 lines (36 loc) · 1.88 KB

File metadata and controls

48 lines (36 loc) · 1.88 KB

Gendiff

Actions Status Node CI Maintainability Test Coverage

About

Gendiff - CLI utility compares two configuration files and shows a difference.

Installation

Clone repository to a local pc and run these commands in the root of the foder.

$ make install
$ sudo npm link

Usage

Use gendiff --help to show help page

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

Options

Gendiff supports different output formats:

  • stylish (default)
  • plain
  • json

Use -f flag to set required output format. -f, --format <type> output format

Examples

  • Stylish

    asciicast

  • Plain

    asciicast

  • Json

    asciicast