class WonderScrape::CLI
Handle the application command line parsing and the dispatch to various command objects
@api public
Constants
- Error
Error
raised by this runner
Public Instance Methods
scrape(*)
click to toggle source
# File lib/wonder_scrape/cli.rb, line 41 def scrape(*) if options[:help] invoke :help, ['scrape'] else WonderScrape::Commands::Scrape.new(options).execute end end
version()
click to toggle source
# File lib/wonder_scrape/cli.rb, line 16 def version require_relative 'version' puts "v#{WonderScrape::VERSION}" end