Sha256: b476dae69ff2d412c21c5d8d1ec9c381f359f0dc0c256fbafd827c6ee242e858

Contents?: true

Size: 400 Bytes

Versions: 4

Compression:

Stored size: 400 Bytes

Contents

#!/usr/bin/env ruby
$LOAD_PATH.unshift(File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib')))

require 'json_schema_builder'

require 'gli'
include GLI

version SchemaBuilder::VERSION

desc "Create schema files in json-schema/*.json"
command :build do |c|
  c.action do |global_options, options, args|
    builder = SchemaBuilder::Writer.new
    builder.write
  end
end

exit GLI.run(ARGV)

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
json_schema_builder-0.1.0 bin/schema
json_schema_builder-0.0.6 bin/schema
json_schema_builder-0.0.5 bin/schema
json_schema_builder-0.0.4 bin/schema