An open API service indexing awesome lists of open source software.

https://github.com/ekaterinamavliutova/difference_calculator

Educational project on Hexlet
https://github.com/ekaterinamavliutova/difference_calculator

cli-utility javascript jest unit-tests

Last synced: 3 months ago
JSON representation

Educational project on Hexlet

Awesome Lists containing this project

README

          

# GenDiff
[![Actions Status](https://github.com/EkaterinaMavliutova/qa-auto-engineer-javascript-project-87/actions/workflows/hexlet-check.yml/badge.svg)](https://github.com/EkaterinaMavliutova/qa-auto-engineer-javascript-project-87/actions) [![Actions Status](https://github.com/EkaterinaMavliutova/qa-auto-engineer-javascript-project-87/actions/workflows/ci.yml/badge.svg)](https://github.com/EkaterinaMavliutova/qa-auto-engineer-javascript-project-87/actions) [![Maintainability](https://api.codeclimate.com/v1/badges/c1eba3f6ce2951129527/maintainability)](https://codeclimate.com/github/EkaterinaMavliutova/qa-auto-engineer-javascript-project-87/maintainability) [![Test Coverage](https://api.codeclimate.com/v1/badges/c1eba3f6ce2951129527/test_coverage)](https://codeclimate.com/github/EkaterinaMavliutova/qa-auto-engineer-javascript-project-87/test_coverage)

**GenDiff** is a CLI tool that compares two configuration files and shows a difference in one of the following output formats: stylish, plain, json

## Installation
>note: the current version of GenDiff requires Node.js v20.11.1 or higher
* clone this repository
* to install required dependencies:
```
make install
```
* to install GenDiff globally:
```
npm link
```

## How to use
```
Usage: gendiff [options]

Options:
-V, --version output the version number
-f, --format output format: stylish (by default), plain, json
-h, --help display help for command
```

## GenDiff recordings on asciinema.org
### compare 2 JSON (format: stylish):

### compare 2 YAML (format: plain):

### compare JSON and YAML (format: json):