Sha256: 2e6ebfb4b9b1be60da5472368c125b777f002ae1d394b5916ee91a78b05f89e7

Contents?: true

Size: 285 Bytes

Versions: 1

Compression:

Stored size: 285 Bytes

Contents

#!/usr/bin/env ruby

require_relative '../lib/yaml-validator'

def main
  root_path = '.'
  root_path = ARGV[0] if ARGV.length > 0
  
  puts "Validating #{root_path}"
  errors = YamlValidator.new(root_path).validate()
  puts errors
  puts "\nfound #{errors.length} errors"
end

main()

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
yaml-validator-0.0.1 bin/yaml-validator