Class: Ckancli::CLI
- Inherits:
-
Thor
- Object
- Thor
- Ckancli::CLI
- Defined in:
- lib/ckancli/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
#upload ⇒ Object
33 34 35 36 37 38 39 40 |
# File 'lib/ckancli/cli.rb', line 33 def upload(*) if [:help] invoke :help, ['upload'] else require_relative 'commands/upload' Ckancli::Commands::Upload.new().execute end end |