def run
      options.libraries.each do |lib|
        require lib
      end

      if options.consumers.empty?
        puts 'No consumers provided, exiting. Run `songkick_queue --help` for more info.'
        exit 1
      end

      consumers = options.consumers.map do |class_name|
        Object.const_get(class_name)
      end

      Worker.new(options.process_name, consumers).run
    end
def run
      options.libraries.each do |lib|
        require lib
      end

      if options.consumers.empty?
        puts 'No consumers provided, exiting. Run `songkick_queue --help` for more info.'
        exit 1
      end

      consumers = options.consumers.map do |class_name|
        Object.const_get(class_name)
      end

      Worker.new(options.process_name, consumers).run
    end
Instantiates and runs a new Worker for the parsed options. Calling this
 method blocks the main Thread. See Worker#run for more info