Class: Datahen::CLI::ScraperDeployment

Inherits:
Thor
  • Object
show all
Defined in:
lib/datahen/cli/scraper_deployment.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details



6
7
8
# File 'lib/datahen/cli/scraper_deployment.rb', line 6

def self.banner(command, namespace = nil, subcommand = false)
  "#{basename} #{@package_name} #{command.usage}"
end

Instance Method Details

#list(scraper_name) ⇒ Object



17
18
19
20
# File 'lib/datahen/cli/scraper_deployment.rb', line 17

def list(scraper_name)
  client = Client::ScraperDeployment.new(options)
  puts "#{client.all(scraper_name)}"
end