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

Version Path
expressir-0.2.27 exe/format
expressir-0.2.27-x86_64-linux exe/format
expressir-0.2.27-x86_64-darwin exe/format
expressir-0.2.27-x86-mingw32 exe/format
expressir-0.2.27-x86-linux exe/format
expressir-0.2.27-x64-mingw32 exe/format
expressir-0.2.27-arm64-darwin exe/format
expressir-0.2.26 exe/format
expressir-0.2.26-x86_64-linux exe/format
expressir-0.2.26-x86_64-darwin exe/format
expressir-0.2.26-x86-mingw32 exe/format
expressir-0.2.26-x86-linux exe/format
expressir-0.2.26-x64-mingw32 exe/format
expressir-0.2.26-arm64-darwin exe/format