Skip to content

CLI app, which compares two configuration files and shows a difference.

Notifications You must be signed in to change notification settings

yurykurylovich/frontend-project-lvl2

Repository files navigation

Actions Status Github Actions Maintainability Test Coverage

Difference Generator

CLI app, which compares two configuration files and shows a difference. The utility supports the following input data formats: json, yaml/yml. The output report can be generated in one of the following formats: stylish (default), plain, json.

Usage explanation

Usage: gendiff [options] <filepath1> <filepath2>

Compares two configuration files and shows a difference.

Options:
-V, --version        output the version number
-f, --format [type]  output format (default: "stylish")
-h, --help           display help for command

Examples

Comparison JSON files (default output)

asciicast

Comparison YAML files (plain output)

asciicast

Comparison YAML and JSON files (JSON output)

asciicast

About

CLI app, which compares two configuration files and shows a difference.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published