Sha256: b0a3887bf3f7e424e43db433666d9cbe9046fa5cbda12e285cf27fbb01e4425b

Contents?: true

Size: 358 Bytes

Versions: 1

Compression:

Stored size: 358 Bytes

Contents

# frozen_string_literal: true

require 'hobgoblin/client'

module Hobgoblin
  class CLI::Download
    def initialize(remote_source, path, options)
      @remote_source = remote_source
      @path = path
      @options = options
    end

    def run
      client = Hobgoblin::Client.new(@options)
      client.download(@remote_source, @path)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hobgoblin-0.1.0 lib/hobgoblin/cli/download.rb