PrestaShop Developer Conference
PrestaShop Developer Conference
November 6, 2024
Let's talk code, commerce and open source.

Notice: You are browsing the documentation for PrestaShop 9, which is currently in development.

You might want to read the documentation for the current version, PrestaShop 8. Read the current version of this page

prestashop:module

Informations

  • Path: src/PrestaShopBundle/Command/ModuleCommand.php
  • Arguments:
    • action: Action to execute, must be one of: install, uninstall, enable, disable, enableMobile, disableMobile, reset, upgrade, configure, registerHook, unregisterHook
    • 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.