function drush_hook_COMMAND_validate

8.0.x drush.api.php drush_hook_COMMAND_validate()
6.x drush.api.php drush_hook_COMMAND_validate()
7.x drush.api.php drush_hook_COMMAND_validate()
3.x drush.api.php drush_hook_COMMAND_validate()
4.x drush.api.php drush_hook_COMMAND_validate()
5.x drush.api.php drush_hook_COMMAND_validate()
master drush.api.php drush_hook_COMMAND_validate()

Run before a specific command executes.

Logging an error stops command execution, and the rollback function (if any) for each hook implementation is invoked.

See also

drush_hook_COMMAND_validate_rollback()

File

./drush.api.php, line 134
Documentation of the Drush API.

Code

function drush_hook_COMMAND_validate() {

}