Sha256: 2f5b45b6f43aa20fb13da5a1aff6ac112a47fa57012e8377f80766ee5b2814ca

Contents?: true

Size: 359 Bytes

Versions: 5

Compression:

Stored size: 359 Bytes

Contents

command :newz do |c|
  c.desc "Prints the newz 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

5 entries across 5 versions & 2 rubygems

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