Sha256: ffcaec6e09a77dbafa5f3e90e693c2a8822f7b881f9bcaf63ec4f61ee112ba15
Contents?: true
Size: 509 Bytes
Versions: 1
Compression:
Stored size: 509 Bytes
Contents
#!/usr/bin/env ruby require 'optparse' require 'soundcheck' options = {} option_parser = OptionParser.new do |opts| opts.banner = "Usage: soundcheck [options] [file or path]" opts.on("--fast", "Run fast specs only") do options[:fast] = true end opts.on("--trace", "Shows backtrace") do options[:trace] = true end opts.on("--help", "Show this info") do puts opts exit end end option_parser.parse!(ARGV) cmd = Soundcheck.new(ARGV[0], options).command_to_run puts cmd exec cmd
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
soundcheck-0.2.0 | bin/soundcheck |