Sha256: 18eee97da3dc26709eff042d03370a1cbca05b4339b4365885fce06e36b48d03
Contents?: true
Size: 617 Bytes
Versions: 4
Compression:
Stored size: 617 Bytes
Contents
#!/usr/bin/env ruby require "resona" require "optparse" options = {} opt_parser = OptionParser.new do |opts| opts.banner = "Usage: #{$PROGRAM_NAME} [options] gemfile" opts.version = Resona::VERSION opts.on("--with grp,...", Array, "Specify groups to include") do |with| options[:with] = with end opts.on("--without grp,...", Array, "Specify groups to exclude") do |without| options[:without] = without end end opt_parser.parse! unless ARGV.length == 1 $stderr.puts "Error: Wrong number of arguments." $stderr.puts opt_parser.banner exit false end Resona.print_formula(ARGV[0], options)
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
resona-0.3.1 | exe/resona |
resona-0.3.0 | exe/resona |
resona-0.2.0 | exe/resona |
resona-0.1.0 | exe/resona |