Skip to content

Amanetes/backend-project-lvl2

Repository files navigation

Difference generator 📲

This utility is used to compare two .json or .yml files and generate a difference report in three output formats: stylish, plain, json

Hexlet tests and linter status:

Actions Status Maintainability Test Coverage CI Check


Installation:

  1. Clone this repository
[email protected]:Amanetes/backend-project-lvl2.git
  1. Type make install

  2. Type npm link


Program options:

  • Type gendiff -h to get help
  • Type gendiff -f with files to be compared to specify output format
  • Type gendiff -V to check version
Option Description
-V, --version output the version number
-f, --format [type] output format (default: "stylish")
-h, --help output usage information

1. Compare .json files

asciicast

2. Compare .yml files

asciicast

3. Compare both .json and .yml files

asciicast

4. Stylish Output format

asciicast

5. Plain Output format

asciicast

6. JSON Output format

asciicast

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published