Installed Drush 6.6.0 using composer following instructions on drush.org. Works fine. I have a set of site aliases in ~/.drush/mysite.aliases.drushrc.php: mysite.dev, mysite.stage, mysite.prod
All the aliases work fine and I can do all built-in commands like
drush @mysite.dev up etc.
However, modules that are present in
@mysite.dev/sites/all/modules/contrib that support Drush are not found. E.g. l10n_update.
I can do commands like
drush @mysite.dev up l10n_update which works fine. I can use the module through the web interface and it works fine.
But I cannot do
drush @mysite.dev l10n_update.
It throws the error
The drush command 'l10n_update' could not be found. Run 'drush cache-clear drush' to clear the commandfile cache if you have installed new extensions.
Even when the current dir is anywhere in
drush cc drush and
drush cc all multiple times in various locations in and outside of the site root without success.
I've read numerous similar questions on this site and followed all suggestions (when relevant to my Drush version), but nothing helps.
I know I had it working long time ago pre composer, but I cannot find what to do now.
Update the correct command is
l10n_update. Only looked over it a million times. :-(