fidilly/gendiff
Composer 安装命令:
composer require fidilly/gendiff
包简介
This library calculates and shows the difference between json or yaml file formats.
关键字:
README 文档
README
Gendiff is a library for comparing json or yaml file formats. This library calculates and shows the difference between files.
Installation
Gendiff can be installed globally with Composer or included in a project or library.
Global installation:
composer global require fidilly/gendiff
example:
Include:
composer require fidilly/gendiff
use function Differ\Gendiff\gendiff;
gendiff($pathToFile1, $pathToFile2, $format);
Usage via terminal
Help call examples:
gendiff -h
gendiff --help
Gendiff supports multiple output formats.
examples:
gendiff <file1> <file2> ###default 'pretty' format
gendiff --format pretty <file1> <file2>
gendiff --format plain <file1> <file2>
gendiff --format json <file1> <file2>
Usage examples
统计信息
- 总下载量: 17
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-06-24