for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php namespace Magestead\Command\VM;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
/**
* Class SshCommand
* @package Magestead\Command\VM
*/
class SshCommand extends Command
{
protected $_projectPath;
protected function configure()
$this->_projectPath = getcwd();
$this->setName("vm:ssh");
$this->setDescription("Login to your development machine with SSH");
}
* @param InputInterface $input
* @param OutputInterface $output
* @return bool
protected function execute(InputInterface $input, OutputInterface $output)
passthru('vagrant ssh');
return true;