class Sfctl::CLI
Handle the application command line parsing and the dispatch to various command objects
@api public
Constants
- Error
Error
raised by this runner
Public Instance Methods
help(*args)
click to toggle source
Calls superclass method
# File lib/sfctl/cli.rb, line 16 def help(*args) font = TTY::Font.new(:standard) pastel = Pastel.new(enabled: !options['no-color']) puts pastel.yellow(font.write('sfctl')) super end
version()
click to toggle source
# File lib/sfctl/cli.rb, line 29 def version require_relative 'version' puts "v#{Sfctl::VERSION}" end