15 lines
418 B
Bash
Executable File
15 lines
418 B
Bash
Executable File
#!/bin/bash
|
|
|
|
#ddev-generated
|
|
## Description: Run drush CLI inside the web container
|
|
## Usage: drush [flags] [args]
|
|
## Example: "ddev drush uli" or "ddev drush sql-cli" or "ddev drush --version"
|
|
## ProjectTypes: drupal7,drupal8,drupal9,drupal10,backdrop
|
|
## ExecRaw: true
|
|
|
|
if ! command -v drush >/dev/null; then
|
|
echo "drush is not available. You may need to 'ddev composer require drush/drush'"
|
|
exit 1
|
|
fi
|
|
drush "$@"
|