Class: Pod::Command::Install

Inherits:
Pod::Command show all
Defined in:
lib/cocoapods-podInstalLocalDepencencies/command.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Pod::Command

#installer_for_config, #local_dependencies?

Constructor Details

#initialize(argv) ⇒ Install

Returns a new instance of Install.



21
22
23
24
# File 'lib/cocoapods-podInstalLocalDepencencies/command.rb', line 21

def initialize(argv)
    super
    @local_dependencies = argv.flag?('local-dependencies', false)
end

Class Method Details

.optionsObject



26
27
28
29
30
# File 'lib/cocoapods-podInstalLocalDepencencies/command.rb', line 26

def self.options
    [
        ['--local-dependencies', 'Force running `pod install` for local dependencies'],
    ].concat(super)
end