Sha256: 4700f88a28604387d9e1f53b9f94da5c1b41d01081b530393d11550b3d6d3b11
Contents?: true
Size: 566 Bytes
Versions: 14
Compression:
Stored size: 566 Bytes
Contents
#!/usr/bin/env ruby require "yaml" require "expressir/express_exp/parser" require "expressir/express_exp/formatter" require "expressir/express_exp/schema_head_formatter" require "expressir/express_exp/hyperlink_formatter" exp_files = ARGV repository = Expressir::ExpressExp::Parser.from_files(exp_files) formatter = Class.new(Expressir::ExpressExp::Formatter) do include Expressir::ExpressExp::SchemaHeadFormatter include Expressir::ExpressExp::HyperlinkFormatter end result = repository.to_hash(formatter: formatter, skip_empty: true) puts YAML.dump(result)
Version data entries
14 entries across 14 versions & 1 rubygems