function hook_drush_init

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

Take action before any command is run. Logging an error stops command execution.

File

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

Code

function hook_drush_init() {

}