Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 1 |
1 | <?php namespace Magestead\Command\VM; |
||
31 | protected function execute(InputInterface $input, OutputInterface $output) |
||
32 | { |
||
33 | $command = $input->getArgument('ssh-command'); |
||
34 | $output->writeln('<info>Running "'.$command.'" on Magestead</info>'); |
||
35 | |||
36 | $passedCommand = "vagrant ssh -c '". $command ."'"; |
||
37 | return new ProcessCommand($passedCommand, $this->_projectPath, $output); |
||
38 | } |
||
39 | } |
||
40 |