Class: Sfctl::CLI
- Inherits:
-
Thor
- Object
- Thor
- Sfctl::CLI
- Defined in:
- lib/sfctl/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
#help(*args) ⇒ Object
16 17 18 19 20 21 |
# File 'lib/sfctl/cli.rb', line 16 def help(*args) font = TTY::Font.new(:standard) pastel = Pastel.new(enabled: !['no-color']) puts pastel.yellow(font.write('sfctl')) super end |