Sha256: cfb9f303c2c2b4297f0f96ddd6a22ea15b00709841181023e14b358e904b9b94
Contents?: true
Size: 426 Bytes
Versions: 3
Compression:
Stored size: 426 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 JsonSchemaBuilder::VERSION desc "Creates schema file in current directory/json-schema/*.json" command :build do |c| c.action do |global_options, options, args| builder = JsonSchemaBuilder::Writer.new builder.write end end exit GLI.run(ARGV)
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
json_schema_builder-0.0.3 | bin/schema |
json_schema_builder-0.0.2 | bin/schema |
json_schema_builder-0.0.1 | bin/schema.rb |