github.com/drud/ddev@v1.21.5-alpha1.0.20230226034409-94fcc4b94453/pkg/ddevapp/global_dotddev_assets/commands/web/drush (about) 1 #!/bin/bash 2 3 #ddev-generated 4 ## Description: Run drush CLI inside the web container 5 ## Usage: drush [flags] [args] 6 ## Example: "ddev drush uli" or "ddev drush sql-cli" or "ddev drush --version" 7 ## ProjectTypes: drupal7,drupal8,drupal9,drupal10,backdrop 8 ## ExecRaw: true 9 10 if ! command -v drush >/dev/null; then 11 echo "drush is not available. You may need to 'ddev composer require drush/drush'" 12 exit 1 13 fi 14 drush "$@"