protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : |
||
$input | Symfony\Component\Console\Input\InputInterface | |
$output | Symfony\Component\Console\Output\OutputInterface | |
return |
protected function execute(InputInterface $input, OutputInterface $output)
{
$output->writeln('<info>Reindexing data</info>');
$index = $input->getArgument('index');
$command = $this->getCommand(new Config($output), $index);
$pCommand = "vagrant ssh -c '" . $command . "'";
return new ProcessCommand($pCommand, $this->_projectPath, $output);
}