4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# File 'lib/protobox/command/help.rb', line 4
def self.execute args
global = <<-help
usage: protobox [options] <command> [<args>]
Commands:
version Protobox CLI Version
init Create a new protobox install in the current directory
install Install a protobox configuration locallly
switch Switch the protobox configuration file to be used by vagrant
See 'protobox help <command>' for more information on a specific command.
help
if args.empty?
puts global
exit
end
cmd = args.first
system "protobox", cmd, "help"
0
end
|