class Cloudscopes::Options
Attributes
files[R]
publish[R]
Public Class Methods
new()
click to toggle source
# File lib/cloudscopes/options.rb, line 7 def initialize @publish = true @files = OptionParser.new do |opts| opts.banner = "Usage: #{$0} [options] [<config.yaml>]\n\nOptions:" opts.on("-t", "dump samples to the console instead of publishing, for testing") { @publish = false } opts.on_tail("-?", "-h", "--help", "Show this message") do puts(opts) exit end end.parse! end