Sha256: 7d4bb39abedd99e0ba142b164478fc994d3f67fb904eac6225d4c9d72e1e635d

Contents?: true

Size: 477 Bytes

Versions: 18

Compression:

Stored size: 477 Bytes

Contents

module PerfMonger
module Command

class StatOption < RecordOption
  attr_reader :json

  private
  def initialize
    super()
    @parser.banner = <<EOS
Usage: perfmonger stat [options] -- <command>

Run a command and gather performance information during its execution.

Options:
EOS

    @logfile = './perfmonger.pgr'
    @json = false

    @parser.on('--json', "Output summary in JSON") do
      @json = true
    end
  end
end

end # module Command
end # module PerfMonger

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
perfmonger-0.14.4 lib/perfmonger/command/stat_option.rb
perfmonger-0.14.2 lib/perfmonger/command/stat_option.rb
perfmonger-0.14.1 lib/perfmonger/command/stat_option.rb
perfmonger-0.14.0 lib/perfmonger/command/stat_option.rb
perfmonger-0.13.1 lib/perfmonger/command/stat_option.rb
perfmonger-0.12.1 lib/perfmonger/command/stat_option.rb
perfmonger-0.12.0 lib/perfmonger/command/stat_option.rb
perfmonger-0.11.2 lib/perfmonger/command/stat_option.rb
perfmonger-0.11.1 lib/perfmonger/command/stat_option.rb
perfmonger-0.11.0 lib/perfmonger/command/stat_option.rb
perfmonger-0.10.2 lib/perfmonger/command/stat_option.rb
perfmonger-0.10.1 lib/perfmonger/command/stat_option.rb
perfmonger-0.9.0 lib/perfmonger/command/stat_option.rb
perfmonger-0.8.2 lib/perfmonger/command/stat_option.rb
perfmonger-0.8.1 lib/perfmonger/command/stat_option.rb
perfmonger-0.8.0 lib/perfmonger/command/stat_option.rb
perfmonger-0.7.1 lib/perfmonger/command/stat_option.rb
perfmonger-0.7.0 lib/perfmonger/command/stat_option.rb