Command processing functions.

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

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


Namesort descending Location Description
drush_do_command_redispatch includes/ Redispatch the specified command using the same options that were passed to this invocation of drush.
drush_do_multiple_command 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 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 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…


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