An NPM module/CLI for validating the Codefresh YAML
npm install @codefresh-io/yaml-validator> An NPM module/CLI for validating the Codefresh YAML.

Developed in Codefresh.
``bash`
$ npm install @codefresh-io/yaml-validator -g
`shSearch for a file named codefresh.yml in the current working directory and validate it
cyv validate
$3
`js
const cyv = require('@codefresh-io/yaml-validator');
const yaml = require('js-yaml');
const fs = require('fs');const doc = yaml.safeLoad(fs.readFileSync('/path/to/codefresh.yml', 'utf8'));
cyv(doc);
``Copyright © 2016, Codefresh.
Released under the MIT license.
*