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