warden_magento_cli
Execute Magento CLI commands inside the php-fpm container by specifying the project path and command, enabling automated Magento environment task management.
Instructions
Run bin/magento command inside the php-fpm container
Input Schema
Name | Required | Description | Default |
---|---|---|---|
args | No | Additional arguments for the command | |
command | Yes | Magento CLI command (without 'bin/magento' prefix) | |
project_path | Yes | Path to the project directory |
Input Schema (JSON Schema)
{
"properties": {
"args": {
"default": [],
"description": "Additional arguments for the command",
"items": {
"type": "string"
},
"type": "array"
},
"command": {
"description": "Magento CLI command (without 'bin/magento' prefix)",
"type": "string"
},
"project_path": {
"description": "Path to the project directory",
"type": "string"
}
},
"required": [
"project_path",
"command"
],
"type": "object"
}