From b199571ff0a36490c54d20c5b583a9cd94dbafe1 Mon Sep 17 00:00:00 2001 From: Jonathan Danse Date: Wed, 23 Jul 2025 17:15:32 +0200 Subject: [PATCH 1/2] fix: theses actions was never merged in core --- development/components/console/prestashop-module.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/development/components/console/prestashop-module.md b/development/components/console/prestashop-module.md index 18a0d62055..3effc353f4 100644 --- a/development/components/console/prestashop-module.md +++ b/development/components/console/prestashop-module.md @@ -8,13 +8,10 @@ title: prestashop:module * Path: `src/PrestaShopBundle/Command/ModuleCommand.php` * Arguments: - * `action`: Action to execute, must be one of: install, uninstall, enable, disable, reset, upgrade, configure, registerHook, unregisterHook + * `action`: Action to execute, must be one of: install, uninstall, enable, disable, enableMobile, disableMobile, reset, upgrade, configure * `module name`: Module on which the action will be executed * `file path`: YML file path for configuration __(optional)__ -* Options: - * `hook`: Hook name to use with the registerHook|unregisterHook action __(array|optional)__ ## Description This command aims to manage your modules via command line. - From 801ad7736b385c262730f7a1bc4e19a1528b3164 Mon Sep 17 00:00:00 2001 From: Jonathan Danse Date: Thu, 25 Sep 2025 09:32:22 +0200 Subject: [PATCH 2/2] Update prestashop:module command documentation Removed enableMobile and disableMobile actions from the list of valid actions. Added documentation for the 'hook' option for registerHook and unregisterHook actions. --- development/components/console/prestashop-module.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/development/components/console/prestashop-module.md b/development/components/console/prestashop-module.md index 3effc353f4..ba77fefd30 100644 --- a/development/components/console/prestashop-module.md +++ b/development/components/console/prestashop-module.md @@ -8,10 +8,13 @@ title: prestashop:module * Path: `src/PrestaShopBundle/Command/ModuleCommand.php` * Arguments: - * `action`: Action to execute, must be one of: install, uninstall, enable, disable, enableMobile, disableMobile, reset, upgrade, configure + * `action`: Action to execute, must be one of: install, uninstall, enable, disable, reset, upgrade, configure * `module name`: Module on which the action will be executed * `file path`: YML file path for configuration __(optional)__ +* Options: + * `hook`: Hook name to use with the registerHook|unregisterHook action __(array|optional)__ ## Description This command aims to manage your modules via command line. +