Sha256: 1c9509eb8e397063bd52d9636c6dd04a13ee69212c38c76678810a22067ea341
Contents?: true
Size: 296 Bytes
Versions: 1
Compression:
Stored size: 296 Bytes
Contents
#!/usr/bin/env ruby # frozen_string_literal: true $LOAD_PATH.unshift File.expand_path("../lib", __dir__) require "mini_yaml" def usage STDERR.puts "Usage: yaml-lint FILENAME" exit 1 end if !ARGV[0] || !File.exist?(ARGV[0]) usage end puts MiniYaml::Linter.new(File.read(ARGV[0])).dump
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mini_yaml-0.1.1 | bin/lint-yaml |