dekabruga/gendiff
Composer 安装命令:
composer require dekabruga/gendiff
包简介
README 文档
README
Gendiff
Gendiff is a utility for comparing two configuration files. Supported formats: json, yaml. The result of comparing can be displayed in different formats: pretty, plain or json.
How to install
- Installation with composer as a cli utility:
Enter the command composer global require dekabruga/php-project-lvl1 to install
Use command gendiff [--format <fmt>] <firstFile> <secondFile> for compare files
- You also can use this utility as library:
Enter the command in your project composer require dekabruga/php-project-lvl1 to install
And import function use Differ/Differ/genDiff;
How it works
You can compare two json config files with plain structure
You can compare two yaml config files with plain structure
You can compare two yaml or json config files with nested structure
You can use --format plain for plain data output
Finally, you can use --format json for json data output
统计信息
- 总下载量: 3
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2020-04-29