mfg
This commit is contained in:
14
.ddev/.global_commands/web/drush
Executable file
14
.ddev/.global_commands/web/drush
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/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 "$@"
|
||||
Reference in New Issue
Block a user