Sha256: 81b30ccfbe26bdf40e98eebff2c132fa647ec3e8ab1c8cad94e96b05941bf220
Contents?: true
Size: 770 Bytes
Versions: 15
Compression:
Stored size: 770 Bytes
Contents
module AnswersEngine class CLI < Thor class ScraperDeployment < Thor package_name "scraper deployment" def self.banner(command, namespace = nil, subcommand = false) "#{basename} #{@package_name} #{command.usage}" end desc "list <scraper_name>", "List deployments on a scraper" long_desc <<-LONGDESC List deployments on a scraper. LONGDESC option :page, :aliases => :p, type: :numeric, desc: 'Get the next set of records by page.' option :per_page, :aliases => :P, type: :numeric, desc: 'Number of records per page. Max 500 per page.' def list(scraper_name) client = Client::ScraperDeployment.new(options) puts "#{client.all(scraper_name)}" end end end end
Version data entries
15 entries across 15 versions & 1 rubygems