Command processing functions.

  1. 6.x drush/includes/ commandprocessing
  2. 4.x drush/includes/ commandprocessing
  3. 5.x drush/includes/ commandprocessing
  4. 7.x drush/includes/ commandprocessing

These functions manage command processing by the main function in drush.php.


Namesort descending Location Description
drush_do_command_redispatch drush/includes/ Redispatch the specified command using the same options that were passed to this invocation of drush.
drush_do_multiple_command drush/includes/ Used by functions that operate on lists of sites, moving information from the source to the destination. Currenlty this includes 'drush rsync' and 'drush sql sync'.
drush_preflight_command_dispatch drush/includes/ Handle any command preprocessing that may need to be done, including potentially redispatching the command immediately (e.g. for remote commands).
_drush_should_remove_command_arg drush/includes/ Determine whether or not an argument should be removed from the DRUSH_COMMAND_ARGS context. This method is used when a Drush command has set the 'strict-option-handling' flag indicating that it will pass through all commandline arguments…


drush/includes/, line 1091
The drush API implementation and helpers.