Without this files inclusion, the migrate commands do now show up when typing. Having this ability is very helpful to learn using the module.

$ drush | grep migrate
All commands in migrate: (migrate)
 migrate-audit (ma)    View information on problems in a migration.             
 migrate-deregister    Remove all tracking of a migration                       
 migrate-fields-desti  List the fields available for mapping in a destination.  
 migrate-fields-sourc  List the fields available for mapping from a source.     
 migrate-import (mi)   Perform one or more migration processes                  
 migrate-mappings      View information on all field mappings in a migration.   
 migrate-reset-status  Reset a active migration's status to idle                
 migrate-rollback      Roll back the destination objects from a given migration 
 migrate-status (ms)   List all migrations with current status.                 
 migrate-stop (mst)    Stop an active migration operation                       
 migrate-wipe (mw)     Delete all nodes from specified content types.  

Thx!

Comments

moshe weitzman’s picture

Status: Active » Postponed (maintainer needs more info)

The files[] element is only there for the class registry of Drupal. I don't think it matters to Drush command listing at all. If someone can reproduce this. please change the status back to active.

mikeryan’s picture

Likewise, I see no problem as it is (with different levels of Drush 5 in different environments). What version of drush are you using?

mikeryan’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)
langworthy’s picture

I just experienced the loss of my migrate drush commands. drush cc all brought them back.