Skip to content

A difference calculator is a program that determines the difference between two data structures.

Notifications You must be signed in to change notification settings

Polyquid/gendiff

Repository files navigation

Badges Github Actions:

Actions Status Github Actions

Badges Codeclimate:

Maintainability Test Coverage

Вычислитель отличий

Вычислитель отличий – программа, определяющая разницу между двумя структурами данных.

Возможности утилиты:

  • Поддержка разных входных форматов: yaml, json

  • Генерация отчета в виде plain text, stylish и json

Установка

  1. make install или npm ci

  2. npm link

Использование

gendiff [options] <filepath1> <filepath2>

Аргументы:

<filepath1> <filepath2> - относительные пути к сравниваемым файлам

Параметры:

-v, --version output the current version

-f, --format [type] output format (default: "stylish")

-h, --help display help for command

Демонстрация работы библиотеки

Вывод в формате stylish

Вывод в формате plain text

Вывод в формате json

About

A difference calculator is a program that determines the difference between two data structures.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published