protected function getCommand(Config $config, $option)
{
$type = $config->type;
switch ($type) {
case 'magento':
return "cd /var/www;bin/phpspec {$option}";
break;
case 'magento2':
return "cd /var/www/public;bin/phpspec {$option}";
break;
}
return false;
}