Skip to content
/ gendiff Public

Study project at Hexlet College. The second project of the first course

Notifications You must be signed in to change notification settings

mkh1n/gendiff

Repository files navigation

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

About

Study project at Hexlet College. The second project of the first course

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published