Sha256: aaf3265bc6b0f01462949f8c40cfbb1ff068d06fe100e20c7e6ebfe3310fb9d2

Contents?: true

Size: 472 Bytes

Versions: 72

Compression:

Stored size: 472 Bytes

Contents

require 'pe_build/archive_collection'

class PEBuild::Command::List < Vagrant.plugin(2, :command)
  def execute
    archive_dir = PEBuild.archive_directory(@env)

    if File.directory? archive_dir
      @env.ui.info "PE versions available (at #{archive_dir})"
      @env.ui.info "---"

      collection = PEBuild::ArchiveCollection.new(archive_dir, @env)
      collection.display
    else
      @env.ui.warn "No PE versions available at #{archive_dir}"
    end
  end
end

Version data entries

72 entries across 72 versions & 1 rubygems

Version Path
vagrant-pe_build-0.8.2 lib/pe_build/command/list.rb
vagrant-pe_build-0.8.1 lib/pe_build/command/list.rb
vagrant-pe_build-0.8.0 lib/pe_build/command/list.rb
vagrant-pe_build-0.7.1 lib/pe_build/command/list.rb
vagrant-pe_build-0.7.0 lib/pe_build/command/list.rb
vagrant-pe_build-0.6.0 lib/pe_build/command/list.rb
vagrant-pe_build-0.5.0 lib/pe_build/command/list.rb
vagrant-pe_build-0.4.3 lib/pe_build/command/list.rb
vagrant-pe_build-0.4.2 lib/pe_build/command/list.rb
vagrant-pe_build-0.4.1 lib/pe_build/command/list.rb
vagrant-pe_build-0.4.0 lib/pe_build/command/list.rb
vagrant-pe_build-0.3.0 lib/pe_build/command/list.rb