class Cruncher::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
scan(url)
click to toggle source
# File lib/cruncher/cli.rb, line 26 def scan(url) if options[:help] invoke :help, ['scan'] else require_relative 'commands/scan' Cruncher::Commands::Scan.new(url, options).execute end end
version()
click to toggle source
# File lib/cruncher/cli.rb, line 17 def version require_relative 'version' puts "v#{Cruncher::VERSION}" end