Class: Vain::CLI

Inherits:
Object
  • Object
show all
Defined in:
lib/vain/cli.rb

Constant Summary collapse

NameColor =

Some colors used in the output

"\e[33m"
CommandColor =
"\e[36m"
DefaultColor =
"\e[0m"
ErrorColor =
"\e[31m"

Instance Method Summary collapse

Instance Method Details

#startObject

Get the commands from the command line (Somewhat primitive, will be expanded) TODO



17
18
19
# File 'lib/vain/cli.rb', line 17

def start
  ARGV.length == 1 ? status(ARGV[0]) : help
end