Sha256: 58a5b35d762524bb7f8b45b57fe8ac7e56f109609f69c7a92ecc1a1dbda5e8c0

Contents?: true

Size: 538 Bytes

Versions: 44

Compression:

Stored size: 538 Bytes

Contents

#!/usr/bin/env ruby

require "yaml"
require "expressir/express/parser"
require "expressir/express/formatter"
require "expressir/express/schema_head_formatter"
require "expressir/express/hyperlink_formatter"

exp_files = ARGV

repository = Expressir::Express::Parser.from_files(exp_files)
formatter = Class.new(Expressir::Express::Formatter) do
  include Expressir::Express::SchemaHeadFormatter
  include Expressir::Express::HyperlinkFormatter
end
result = repository.to_hash(formatter: formatter, skip_empty: true)

puts YAML.dump(result)

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
expressir-1.2.1-x86-linux exe/format
expressir-1.2.1-x64-mingw32 exe/format
expressir-1.2.1-arm64-darwin exe/format
expressir-1.2.0 exe/format
expressir-1.2.0-x86_64-linux exe/format
expressir-1.2.0-x86_64-darwin exe/format
expressir-1.2.0-x86-mingw32 exe/format
expressir-1.2.0-x86-linux exe/format
expressir-1.2.0-x64-mingw32 exe/format
expressir-1.2.0-arm64-darwin exe/format
expressir-1.1.0 exe/format
expressir-1.1.0-x86_64-linux exe/format
expressir-1.1.0-x86_64-darwin exe/format
expressir-1.1.0-x86-mingw32 exe/format
expressir-1.1.0-x86-linux exe/format
expressir-1.1.0-x64-mingw32 exe/format
expressir-1.1.0-arm64-darwin exe/format
expressir-1.0.0 exe/format
expressir-1.0.0-x86_64-linux exe/format
expressir-1.0.0-x86_64-darwin exe/format