drupal/console-yaml

Drupal Console Yaml

安装数: 5,353

依赖者: 1

建议者: 0

安全性: 0

星标: 1

关注者: 3

分叉: 9

类型:drupal-console-library

0.2.1 2017-07-06 21:08 UTC

This package is auto-updated.

Last update: 2024-09-19 07:40:57 UTC


README

Drupal Console Yaml,该项目包含跨项目共享的 YAML 控制台命令。

命令

* yaml:diff             Compare two YAML files in order to find differences between them.
* yaml:get:value        Get value for a specific key inside the YAML file.
* yaml:merge            Merge two or more YAML files in a new YAML file. Latest values are preserved.
* yaml:split            Split a YAML file using indent as separator criteria
* yaml:yaml:unset:key   Unset/remote a specific key inside the YAML file.
* yaml:update:key       Replace a YAML key in a YAML file.
* yaml:update:value     Update a value for a specific key in a YAML file.

在站点上安装

cd /path/to/drupal/

composer require drupal/console-yaml

全局安装

cd cd ~/.console/extend/

composer require drupal/console-yaml