Class: VagrantGrunt::GruntCommand

Inherits:
Object
  • Object
show all
Defined in:
lib/vagrant-grunt/command.rb

Instance Method Summary collapse

Instance Method Details

#execute ⇒ Object

register "grunt", "Run grunt command inside of the VM environment" argument :grunt_command, :type => :string, :required => true, :desc => "The grunt command to run on the VM" class_option :cwd, :type => :string, :default => nil



7
8
9
10
11
# File 'lib/vagrant-grunt/command.rb', line 7

def execute
  #exec("grunt ")
  puts #{ARGV[0]}
  0
end