Class: VagrantSymfony::Command::SymfonyCommand

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

Instance Method Summary collapse

Methods inherited from CommandInVm

#execute, #in_working_directory, #run_command, #run_interactive_command, #support_color, #working_directory

Instance Method Details

#build_command(vm) ⇒ Object



10
11
12
13
14
15
# File 'lib/vagrant-symfony/command/symfony.rb', line 10

def build_command(vm)
  command = Shellwords.join(@argv)
  # command = '--ansi ' + command if support_color
  name = vm.config.symfony.commandName
  in_working_directory(vm, "#{name} #{command}")
end

#interactiveObject



6
7
8
# File 'lib/vagrant-symfony/command/symfony.rb', line 6

def interactive
  true
end