Sha256: 5533458bca9fc1eed2d689fa585ac6e6dfcc5633f92f763c97edf6607ca79222

Contents?: true

Size: 403 Bytes

Versions: 1

Compression:

Stored size: 403 Bytes

Contents

#!/usr/bin/env ruby

require_relative '../lib/yaml_extend'

arg = ARGV[0]

if %w[help -h --help].include?(arg) || arg.nil? || arg == ''
  puts <<-TEXT
    
    yaml_extend #{YamlExtend::VERSION}
    https://github.com/magynhard/yaml_extend

    yaml_extend -h --help     # show this info
    yaml_extend <file>        # parse and output given file

  TEXT
else
  puts YAML.ext_load_file(arg).to_yaml
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
yaml_extend-1.3.3 bin/yaml_extend