Sha256: 0eb97f943fe02bc3cf2cdc5e63d6169308938659ac06e680c423e2024df251f1
Contents?: true
Size: 525 Bytes
Versions: 47
Compression:
Stored size: 525 Bytes
Contents
#!/usr/bin/env ruby $:.unshift(File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib'))) require 'rubygems' require 'rdf/cli' options = RDF::CLI.options do self.on('-v', '--verbose', 'Enable verbose output. May be given more than once.') do $VERBOSE = true end self.on('-V', '--version', 'Display the RDF.rb version and exit.') do puts RDF::VERSION; exit end end abort options.banner if ARGV.empty? && !options.options[:evaluate] RDF::CLI.exec_command(command = ARGV.shift, ARGV, options.options)
Version data entries
47 entries across 47 versions & 1 rubygems