github.com/ddev/ddev@v1.23.2-0.20240519125000-d824ffe36ff3/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,drupal,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 "$@"