Sha256: 7347700e769d14d3a3746fe6f0350aea11d4a8b477236c9445113bc9c399919c
Contents?: true
Size: 532 Bytes
Versions: 22
Compression:
Stored size: 532 Bytes
Contents
require 'metric_fu' require 'metric_fu/cli/helper' require 'metric_fu/cli/parser' module MetricFu module Cli class Client def initialize @helper = MetricFu::Cli::Helper.new end def shutdown @helper.shutdown end def run(argv=ARGV.dup) options = @helper.process_options(argv) mf_debug "Got options #{options.inspect}" if options[:run] @helper.run(options) else STDOUT.puts @helper.usage end end end end end
Version data entries
22 entries across 22 versions & 1 rubygems