Sha256: e9228df1df12612f6de9e105930538dced53bc6c192a5da92c344249b5b96b08

Contents?: true

Size: 724 Bytes

Versions: 15

Compression:

Stored size: 724 Bytes

Contents

command :stats do |c|
  c.desc "Prints the stats at a given revision (defaults to working directory)"
  c.add_opt :rev, "Specifies the revision to check", {:short => "-r", :type => :integer}
  c.on_run do |options, arguments|
    revision = options[:rev]
    repo = options[:repository]
    
    repo[revision].each do |k, v|
      puts "#{k}"
    end
  end
end

command :stats do |c|
  c.desc "Prints the stats at a given revision (defaults to working directory)"
  c.add_opt :rev, "Specifies the revision to check", {:short => "-r", :type => :integer}
  c.on_run do |options, arguments|
    revision = options[:rev]
    repo = options[:repository]
    
    repo[revision].each do |k, v|
      puts "#{k}"
    end
  end
end

Version data entries

15 entries across 5 versions & 2 rubygems

Version Path
amp-0.5.3 test/functional_tests/resources/version4/commands/stats.rb
amp-0.5.3 test/functional_tests/resources/version5_2/commands/stats.rb
amp-0.5.3 test/functional_tests/resources/version5_1/commands/stats.rb
amp-0.5.2 test/functional_tests/resources/version5_2/commands/stats.rb
amp-0.5.2 test/functional_tests/resources/version4/commands/stats.rb
amp-0.5.2 test/functional_tests/resources/version5_1/commands/stats.rb
amp-0.5.1 test/functional_tests/resources/version4/commands/stats.rb
amp-0.5.1 test/functional_tests/resources/version5_1/commands/stats.rb
amp-0.5.1 test/functional_tests/resources/version5_2/commands/stats.rb
amp-pure-0.5.0 test/functional_tests/resources/version5_2/commands/stats.rb
amp-pure-0.5.0 test/functional_tests/resources/version4/commands/stats.rb
amp-pure-0.5.0 test/functional_tests/resources/version5_1/commands/stats.rb
amp-0.5.0 test/functional_tests/resources/version4/commands/stats.rb
amp-0.5.0 test/functional_tests/resources/version5_2/commands/stats.rb
amp-0.5.0 test/functional_tests/resources/version5_1/commands/stats.rb