drupal/console-yaml

Drupal Console Yaml

Installs: 5 472

Dependents: 1

Suggesters: 0

Security: 0

Stars: 1

Watchers: 3

Forks: 9

Type:drupal-console-library

0.2.1 2017-07-06 21:08 UTC

This package is auto-updated.

Last update: 2024-11-19 07:59:07 UTC


README

Drupal Console Yaml, this project contains YAML console commands shared across projects.

Commands:

* 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.

Install on a site:

cd /path/to/drupal/

composer require drupal/console-yaml

Install globally:

cd cd ~/.console/extend/

composer require drupal/console-yaml