Class: Wordword::CLI
- Inherits:
-
Thor
- Object
- Thor
- Wordword::CLI
- Defined in:
- lib/wordword/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
#compose ⇒ Object
27 28 29 30 31 32 33 34 |
# File 'lib/wordword/cli.rb', line 27 def compose(*) if [:help] invoke :help, ["compose"] else require_relative "commands/compose" Wordword::Commands::Compose.new().execute end end |