Skip to content

Latest commit

 

History

History
64 lines (49 loc) · 2.01 KB

README.md

File metadata and controls

64 lines (49 loc) · 2.01 KB

genDiff.js

Actions Status Maintainability Test Coverage my workflow

The CLI app to compare two configuration files and generate differences.

Setup

Setup

Install dependencies

$ make install

Run eslint

$ make lint

Run tests

$ make test 
Installation

Install

$ make gendiff-install

UnInstall

$ make gendiff-uninstall

Overview

The application compares two files of the JSON or YAML format and generates differences report in the following formats: stylish, plain, and JSON.

This app is my learning project from the Hexlet Frontend Developer course aimed to get hands-on experience with the following topics:

  • functional programming: no let/for/classes, immutable
  • data structures and algorithms
  • trees and depth-in-search
  • testing and debugging with JEST
  • setting-up configuration (linter, tests, CI)
  • git & github actions

Use

Usage: gendiff [options] <filepath1> <filepath2>
Options:
  -V, --version        output the version number
  -f, --format [type]  output format [stylish, plain, json] (default: 'stylish')
  -h, --help           display help for command

Example

asciicast