Skip to content
/ gendiff Public

CLI app to compare two configuration files and generate differences

Notifications You must be signed in to change notification settings

ola-9/gendiff

Repository files navigation

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

About

CLI app to compare two configuration files and generate differences

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published