Sha256: d7af960e1daea26d0e42c995c55e82ed6b5e78afba20b0c700896290033c81fd

Contents?: true

Size: 486 Bytes

Versions: 5

Compression:

Stored size: 486 Bytes

Contents

require_relative "executor/fetcher"

module Pod
  class Command
    class Binary < Command
      class Fetch < Binary
        self.arguments = [CLAide::Argument.new("CACHE-BRANCH", false)]

        def initialize(argv)
          super
          @fetcher = PodPrebuild::CacheFetcher.new(
            config: prebuild_config,
            cache_branch: argv.shift_argument || "master"
          )
        end

        def run
          @fetcher.run
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cocoapods-binary-cache-0.1.6 lib/command/fetch.rb
cocoapods-binary-cache-0.1.5 lib/command/fetch.rb
cocoapods-binary-cache-0.1.3 lib/command/fetch.rb
cocoapods-binary-cache-0.1.2 lib/command/fetch.rb
cocoapods-binary-cache-0.1.1 lib/command/fetch.rb