mfg
This commit is contained in:
16
.ddev/.global_commands/web/magento
Executable file
16
.ddev/.global_commands/web/magento
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
#ddev-generated
|
||||
## Description: Run magento CLI inside the web container
|
||||
## Usage: magento [flags] [args]
|
||||
## Example: "ddev magento list" or "ddev magento maintenance:enable" or "ddev magento sampledata:reset"
|
||||
## ProjectTypes: magento2
|
||||
## ExecRaw: true
|
||||
|
||||
if [ ! -f bin/magento ]; then
|
||||
echo 'bin/magento does not exist in your project root directory.'
|
||||
echo 'Please verify that you installed the shop in your project directory.'
|
||||
exit 1
|
||||
fi
|
||||
|
||||
php bin/magento "$@"
|
||||
Reference in New Issue
Block a user