Skip to content

sergey20x25/Difference-Generator

Repository files navigation

Gendiff

Maintainability Test Coverage Build Status

Description

Compares two configuration files and shows a difference.

Installation

npm package:

$ npm install -g sergey20x25-gd

asciicast

Launch

To start type in the console:

$ gendiff <path_to_file_1> <path_to_file_2> [options]
Options:
  -V, --version        output the version number
  -f, --format [type]  output format, tree, plain or json (default: "tree")
  -h, --help           output usage information

json example: asciicast yaml example: asciicast ini example: asciicast recursive json example: asciicast plain out example: asciicast json out example: asciicast

API

var genDiff = require('sergey20x25-gd');

genDiff(pathToFile1, PathToFile2[, format]);

format:

  • 'tree'
  • 'plain'
  • 'json'

Help

For help type gendiff -h in the console:

$ gendiff -h

asciicast

About

Gendiff Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published