Files
Marko 24dd57cb18 mfg
2025-07-17 18:43:41 +02:00

17 lines
477 B
Bash
Executable File

#!/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 "$@"