Class: Churned::CLI
- Inherits:
-
Thor
- Object
- Thor
- Churned::CLI
- Defined in:
- lib/churned/cli.rb
Overview
Handle the application command line parsing and the dispatch to various command objects
Constant Summary collapse
- Error =
Error raised by this runner
Class.new(StandardError)
Instance Method Summary collapse
Instance Method Details
#console ⇒ Object
24 25 26 27 28 29 30 31 |
# File 'lib/churned/cli.rb', line 24 def console(*) if [:help] invoke :help, ['console'] else require_relative 'commands/console' Churned::Commands::Console.new().execute end end |