Skip to content

WisdomQuest/frontend-project-46

Repository files navigation

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

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

  • Поддержка разных входных форматов: yaml, json
  • Генерация отчета в виде plain text, stylish и json

Пример запуска:

# формат plain
gendiff --format plain path/to/file.yml another/path/file.json

Property 'common.follow' was added with value: false
Property 'group1.baz' was updated. From 'bas' to 'bars'
Property 'group2' was removed

# формат stylish
gendiff filepath1.json filepath2.json

{
  + follow: false
    setting1: Value 1
  - setting2: 200
  - setting3: true
  + setting3: {
        key: value
    }
  + setting4: blah blah
  + setting5: {
        key5: value5
    }
}

Hexlet tests and linter status:

github-actions

Test Coverage

Ascinema(step 4) asciicast

Ascinema(step 6) asciicast

Ascinema(step 7) asciicast

Ascinema(step 8) asciicast

Ascinema(step 9) asciicast

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published