nerijusza/yamldiff
Composer 安装命令:
composer require nerijusza/yamldiff
包简介
Spot the differences between two YAML files. Forked from 'mattketmo/yamldiff'
README 文档
README
Spot the differences between 2 yaml files.
Installation
Build the PHAR file using Box Project.
# Fetch the sources git clone git://github.com/MattKetmo/yamldiff.git cd yamldiff/ # Install dependencies (see https://getcomposer.org/doc/00-intro.md#globally) composer install # Build the Phar (see http://box-project.org/) box build # Move it to your $PATH mv yamldiff.phar /usr/local/bin/yamldiff
Usage
yamldiff file1.yml file2.yml
This will show the keys which are present on file1.yml and missing on
file2.yml (prefixed by a +), and vice versa (prefixed by a -).
For instance, this can be really usefull when comparing your local file
parameters.yml with the versionned one parameters.yml.dist on
a Symfony project:
yamldiff app/config/parameters.yml.dist app/config/parameters.yml
License
YamlDiff is released under the MIT License. See the bundled LICENSE file for details.
统计信息
- 总下载量: 2.52k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-06-13