Class: Datahen::CLI::ScraperDeployment
- Inherits:
-
Thor
- Object
- Thor
- Datahen::CLI::ScraperDeployment
- Defined in:
- lib/datahen/cli/scraper_deployment.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.banner(command, namespace = nil, subcommand = false) ⇒ Object
6 7 8 |
# File 'lib/datahen/cli/scraper_deployment.rb', line 6 def self.(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() puts "#{client.all(scraper_name)}" end |