protected function getCommand(Config $config)
{
$type = $config->type;
switch ($type) {
case 'magento':
return "cd /var/www/public;../bin/n98-magerun.phar index:list";
case 'magento2':
return "cd /var/www/public;bin/magento indexer:info";
}
return false;
}