Sha256: 47ffdba410199122016df944548cd27bfbb0a58d853004d15e3ef458402b46ca

Contents?: true

Size: 592 Bytes

Versions: 35

Compression:

Stored size: 592 Bytes

Contents

module XcodeInstall
  class Command
    class Installed < Command
      self.command = 'installed'
      self.summary = 'List installed Xcodes.'

      def self.options
        [['--uuid', 'Show DVTPlugInCompatibilityUUIDs in the list.']].concat(super)
      end

      def initialize(argv)
        @uuid = argv.flag?('uuid', false)
        super
      end

      def run
        installer = XcodeInstall::Installer.new
        installer.installed_versions.each do |xcode|
          puts "#{xcode.version}\t(#{xcode.path})\t#{@uuid ? xcode.uuid : ''}"
        end
      end
    end
  end
end

Version data entries

35 entries across 35 versions & 2 rubygems

Version Path
xcode-install-2.8.1 lib/xcode/install/installed.rb
xcode-install-2.8.0 lib/xcode/install/installed.rb
xcode-install-2.7.0 lib/xcode/install/installed.rb
xcode-install-2.6.8 lib/xcode/install/installed.rb
xcode-install-2.6.7 lib/xcode/install/installed.rb
xcode-install-2.6.6 lib/xcode/install/installed.rb
xcode-install-2.6.5 lib/xcode/install/installed.rb
xcode-install-2.6.4 lib/xcode/install/installed.rb
xcode-install-2.6.3 lib/xcode/install/installed.rb
xcode-install-2.6.2 lib/xcode/install/installed.rb
xcode-install-2.6.1 lib/xcode/install/installed.rb
xcode-install-2.6.0 lib/xcode/install/installed.rb
xcode-install-citrus-2.5.0 lib/xcode/install/installed.rb
xcode-install-2.5.0 lib/xcode/install/installed.rb
xcode-install-2.4.4 lib/xcode/install/installed.rb
xcode-install-2.4.2 lib/xcode/install/installed.rb
xcode-install-2.4.1 lib/xcode/install/installed.rb
xcode-install-2.4.0 lib/xcode/install/installed.rb
xcode-install-2.3.1 lib/xcode/install/installed.rb
xcode-install-2.3.0 lib/xcode/install/installed.rb