Up to this point in the book, we have covered many topics about running code with Drush. The next step is to make sure that our code runs smoothly by ensuring that input data is correct and by implementing error handling. We will also see a few tools to help us understand Drush's bootstrap even further.
In this chapter, we will cover the following topics to meet the preceding goals:
Validating input
Rolling back on errors
Browsing Drush's available hooks
Monitoring Drush's bootstrap process
Inspecting Drupal's hooks and function implementations