Skip to content

mnogom/frontend-project-lvl2

Repository files navigation

Hexlet tests and linter status:

Difference Generator


Hexlet tests and linter status:

node-ci Actions Status Maintainability Test Coverage


Installation

git clone https://github.com/mnogom/frontend-project-lvl2
cd frontend-project-lvl2
make install

Usage

  1. From command line
Usage: gendiff [options] <filepath1> <filepath2>

Compares two configuration files and shows a difference.

Options:
  -V, --version          output the version number
  -f, --format <format>  set formatters of output (default: "stylish")
  -h, --help             display help for comman

Features

  1. Works with JSON and YAML format
  2. Works with Plain and Recursive file structures
  3. Output in Stylish, Plain and JSON formats

See examples below


Examples

Plain JSON @ Stylish format

asciicast

Plain YAML @ Stylish format

asciicast

Recursive JSON @ Stylish format

asciicast

Recursive JSON @ Plain format

asciicast

Recursive JSON @ JSON format

asciicast

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published