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