Sha256: 8fbe32d3f30df9795971c4b294f1a47d39d7bbe4abd918bd75f395215177ff6c
Contents?: true
Size: 580 Bytes
Versions: 4
Compression:
Stored size: 580 Bytes
Contents
module AnswersEngine class CLI < Thor class ScraperFinisher < Thor package_name "scraper finisher" def self.banner(command, namespace = nil, subcommand = false) "#{basename} #{@package_name} #{command.usage}" end desc "reset <scraper_name>", "Reset finisher on a scraper's current job" long_desc <<-LONGDESC Reset finisher on a scraper's current job.\x5 LONGDESC def reset(scraper_name) client = Client::ScraperFinisher.new(options) puts "#{client.reset(scraper_name)}" end end end end
Version data entries
4 entries across 4 versions & 1 rubygems