I have drush working on multiple sites with this in aliases.drushrc.php
<?php $aliases = array( 'site1' => array( 'uri' => 'site1.com', 'root' => '/Applications/MAMP/htdocs/site1/docroot', ), 'site2' => array( 'uri' => 'site2.com', 'root' => '/Applications/MAMP/htdocs/site2/public', ), );
This works fine, but I am not only working on a single site, so I would like to leave the site name when executing drush commands. So instead of drush @site1 cc I could just do drush cc all . Can I do this in this file?
Evans source share