module Imgfetcha

Constants

VERSION

Public Class Methods

run() click to toggle source
# File lib/imgfetcha.rb, line 9
def self.run
  parser = ArgParser.new
  options = parser.run

  reader = FileReader.new(options)
  reader.run

  downloader = BatchFetcher.new(reader.result, options)
  downloader.run
rescue StandardError, NotImplementedError => e
  puts e.class, e.message
  puts e.backtrace if options[:verbose]
end