atphp/yaml-cli-reader

Yaml CLI reader

v0.1.1 2015-06-22 01:46 UTC

This package is auto-updated.

Last update: 2024-04-12 19:18:19 UTC


README

Yaml validator

  • Yaml file validate with useful debug message
  • Validate multiple files
  • Support import syntax with glob file name

Install

composer global require atphp/yaml-cli-reader:~0.1.0

Usage

yaml-reader /path/to/file.yml

Validate multiple files

yaml-reader /path/to/file1.yml /path/to/file2.yml

Import syntax

# ...
imports:
  - { resources: "subFolder1/*.yml" }
  - { resources: "subFolder2/*.yml" }
# ...