Sha256: 94e60827c3012fa2f429377175eec678b0f605c82aea96ed010354b5be50443f

Contents?: true

Size: 367 Bytes

Versions: 30

Compression:

Stored size: 367 Bytes

Contents

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

30 entries across 5 versions & 2 rubygems

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