class Pod::Command::Binary

Public Class Methods

new(argv) click to toggle source
Calls superclass method
# File lib/command/binary.rb, line 18
def initialize(argv)
  super
  load_podfile
  update_cli_config(:repo => argv.option("repo"))
end
options() click to toggle source
# File lib/command/binary.rb, line 12
def self.options
  [
    ["--repo", "Cache repo (in accordance with `cache_repo` in `config_cocoapods_binary_cache`)"]
  ]
end

Public Instance Methods

load_podfile() click to toggle source
# File lib/command/binary.rb, line 28
def load_podfile
  Pod::Config.instance.podfile
end
prebuild_config() click to toggle source
# File lib/command/binary.rb, line 24
def prebuild_config
  @prebuild_config ||= PodPrebuild.config
end
update_cli_config(options) click to toggle source
# File lib/command/binary.rb, line 32
def update_cli_config(options)
  PodPrebuild.config.cli_config.merge!(options)
end