Sha256: 0f494c93cd343f998cec7411735149231c0afd76cfc76ab33df1b247404f9c12
Contents?: true
Size: 526 Bytes
Versions: 13
Compression:
Stored size: 526 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.has_key?(:evaluate) RDF::CLI.exec_command(command = ARGV.shift, ARGV, options.options)
Version data entries
13 entries across 13 versions & 2 rubygems