Sha256: efad37b31713992b55adb697a725606ac1edb960c78f4c263c2c5a89725b6059

Contents?: true

Size: 373 Bytes

Versions: 2

Compression:

Stored size: 373 Bytes

Contents

module Doggy
  class CLI::Pull
    attr_reader :options, :ids

    def initialize(options, ids)
      @options = options
      @ids = ids
    end

    def run
      begin
        Doggy::Dash.download(ids)
        Doggy::Monitor.download(ids)
        Doggy::Screen.download(ids)
      rescue DoggyError
        puts "Pull failed."
        exit 1
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
doggy-0.2.2 lib/doggy/cli/pull.rb
doggy-0.2.0 lib/doggy/cli/pull.rb