christingruber / yaml-lint

Compact command line utility for checking YAML file syntax

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

yaml-lint

Latest Version on Packagist Software License Total Downloads Scrutinizer Code Quality

A compact command line utility for checking YAML file syntax. Uses the parsing facility of the Symfony Yaml Component.

Usage

usage: yaml-lint [options] [input source]

  input source    Path to file, or "-" to read from standard input

  -q, --quiet     Restrict output to syntax errors
  -h, --help      Display this help
  -V, --version   Display application version

ℹ️ Note that only single files or standard input are supported in the current stable release, 1.1.3.

📢 Experimental support for multiple files is available in 1.1.x-dev.

Install

Install as a project component with Composer (executable from the project's vendor/bin directory):

composer require j13k/yaml-lint

Typically a binary edition (yaml-lint.phar) is also available for download with each release. This embeds the latest stable version of the Symfony Yaml component that is current at the time of the release.

Change log

Please see CHANGELOG for information on what has changed recently.

Credits

License

The MIT License (MIT). Please see LICENCE for more information.

About

Compact command line utility for checking YAML file syntax

License:MIT License


Languages

Language:PHP 100.0%