onedealmaker/backend-project-lvl2

View on GitHub
README.md

Summary

Maintainability
Test Coverage
[![hexlet-check](https://github.com/onedealmaker/backend-project-lvl2/actions/workflows/hexlet-check.yml/badge.svg)](https://github.com/onedealmaker/backend-project-lvl2/actions/workflows/hexlet-check.yml)
[![Node CI](https://github.com/onedealmaker/backend-project-lvl2/workflows/Node%20CI/badge.svg)](https://github.com/onedealmaker/backend-project-lvl2/actions)
[![Maintainability](https://api.codeclimate.com/v1/badges/62e17bed3518ebc92c4e/maintainability)](https://codeclimate.com/github/onedealmaker/backend-project-lvl2/maintainability)
[![Test Coverage](https://api.codeclimate.com/v1/badges/62e17bed3518ebc92c4e/test_coverage)](https://codeclimate.com/github/onedealmaker/backend-project-lvl2/test_coverage)
# gendiff
Find difference between two config files.
Accepts JSON, YAML and INI formats.

## setup
```sh
$ git clone https://github.com/onedealmaker/backend-project-lvl2.git
```
Then from clonned directory:
```sh
$ make install
$ make publish
```

## execute examples:
### JSON:
[![asciicast](https://asciinema.org/a/328580.svg)](https://asciinema.org/a/328580)

### YAML:
[![asciicast](https://asciinema.org/a/328581.svg)](https://asciinema.org/a/328581)

## Also you can change an output format:
1. format 'stylish' (default) - has tree-like output with displaying all elements and their changes.
[![asciicast](https://asciinema.org/a/386680.svg)](https://asciinema.org/a/386680)
1. format 'plain' - text output, displaying information only about changes.
[![asciicast](https://asciinema.org/a/386678.svg)](https://asciinema.org/a/386678)
1. format 'json' - output in JSON format with information about all elements and changes.
[![asciicast](https://asciinema.org/a/386674.svg)](https://asciinema.org/a/386674)