Sha256: 35127922101a9c7ea23712f0b3e93049033f2ba3a1202d388b7816b2fe24cd71
Contents?: true
Size: 615 Bytes
Versions: 38
Compression:
Stored size: 615 Bytes
Contents
module LitmusPaper module CLI class Admin class Command def self._default_options options = { :litmus_config => "/etc/litmus.conf" } end def self._extend_default_parser(options, &block) OptionParser.new do |opts| block.call(opts) opts.on("-c", "--config=file", String, "Litmus configuration file", "Default: /etc/litmus.conf") do |config| options[:litmus_config] = config end opts.on("--help", "Show this help message.") { puts opts; exit } end end end end end end
Version data entries
38 entries across 38 versions & 1 rubygems