Class: Bcli::CLI
- Inherits:
-
Thor
- Object
- Thor
- Bcli::CLI
- Defined in:
- lib/bcli/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
#login ⇒ Object
45 46 47 48 49 50 51 52 |
# File 'lib/bcli/cli.rb', line 45 def login(*) if [:help] invoke :help, ["login"] else require_relative "commands/login" Bcli::Commands::Login.new.execute end end |