Class: Vain::CLI
- Inherits:
-
Object
- Object
- Vain::CLI
- 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
-
#start ⇒ Object
Get the commands from the command line (Somewhat primitive, will be expanded) TODO.
Instance Method Details
#start ⇒ Object
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 |