Class: Protobox::Command::PassThrough

Inherits:
Object
  • Object
show all
Defined in:
lib/protobox/command/passthrough.rb

Class Method Summary collapse

Class Method Details

.execute(args) ⇒ Object



4
5
6
7
8
9
10
11
12
13
14
15
16
# File 'lib/protobox/command/passthrough.rb', line 4

def self.execute args
  #puts args.inspect

  vagrant = Protobox::Util::Platform.vagrant

  args.insert(0, vagrant)
  args.insert(1, 'protobox')

  system *args

  # Success, exit status 0
  0
end