class Guac::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
setup(*)
click to toggle source
# File lib/guac/cli.rb, line 21 def setup(*) if options[:help] invoke :help, ['setup'] else require_relative 'commands/setup' Guac::Commands::Setup.new(options, self).execute end end
status(*)
click to toggle source
# File lib/guac/cli.rb, line 32 def status(*) if options[:help] invoke :help, ['status'] else require_relative 'commands/status' Guac::Commands::Status.new(options).execute end end
up(*)
click to toggle source
# File lib/guac/cli.rb, line 45 def up(*) if options[:help] invoke :help, ['up'] else require_relative 'commands/up' Guac::Commands::Up.new(options, ARGV).execute end end
version()
click to toggle source
# File lib/guac/cli.rb, line 13 def version require_relative 'version' puts "v#{Guac::VERSION}" end