Class: XCCache::Command::Use

Inherits:
XCCache::Command show all
Defined in:
lib/xccache/command/use.rb

Instance Attribute Summary

Attributes inherited from XCCache::Command

#build_options, #install_options

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from XCCache::Command

#initialize, #str_to_sdks

Methods included from XCCache::Config::Mixin

#config

Constructor Details

This class inherits a constructor from XCCache::Command

Class Method Details

.optionsObject



8
9
10
11
12
# File 'lib/xccache/command/use.rb', line 8

def self.options
  [
    *Options.install_options,
  ].concat(super)
end

Instance Method Details

#runObject



14
15
16
# File 'lib/xccache/command/use.rb', line 14

def run
  Installer::Use.new(ctx: self).install!
end