From 70dac5f05125ce5b9e639be0e139815642c741d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Hennes?= Date: Mon, 11 Dec 2023 21:44:53 +0100 Subject: [PATCH] Release 1.6.6 (Fix commands list) --- COMMANDS.md | 6570 +++++++++++++++++++++++++++++++++++- bin/phar/current.version | 2 +- bin/prestashopConsole.phar | Bin 1314494 -> 1314494 bytes 3 files changed, 6537 insertions(+), 35 deletions(-) diff --git a/COMMANDS.md b/COMMANDS.md index c990db8..d301089 100644 --- a/COMMANDS.md +++ b/COMMANDS.md @@ -1,47 +1,6549 @@ +PrestashopConsole 1.6.6 +======================= -Deprecated: AppKernel implements the Serializable interface, which is deprecated. Implement __serialize() and __unserialize() instead (or in addition, if support for old PHP versions is necessary) in /home/herve/www/prestashop/versions/176/app/AppKernel.php on line 32 +* [`help`](#help) +* [`list`](#list) -Call Stack: - 0.0001 403768 1. {main}() /home/herve/www/prestashop/modules/prestashop_console/console_dev.php:0 - 0.0032 800944 2. include_once('/home/herve/www/prestashop/versions/176/config/config.inc.php') /home/herve/www/prestashop/modules/prestashop_console/console_dev.php:35 - 0.0041 814520 3. require_once('/home/herve/www/prestashop/versions/176/config/autoload.php') /home/herve/www/prestashop/versions/176/config/config.inc.php:36 - 0.0903 3400312 4. Composer\Autoload\ClassLoader->loadClass($class = 'AppKernel') /home/herve/www/prestashop/versions/176/config/autoload.php:28 - 0.0903 3400312 5. Composer\Autoload\includeFile($file = '/home/herve/www/prestashop/versions/176/vendor/composer/../../app/AppKernel.php') /home/herve/www/prestashop/modules/prestashop_console/src/vendor/composer/ClassLoader.php:322 - 0.0930 3420312 6. include('/home/herve/www/prestashop/versions/176/app/AppKernel.php') /home/herve/www/prestashop/modules/prestashop_console/src/vendor/composer/ClassLoader.php:444 +**admin:** +* [`admin:user:change-password`](#adminuserchange-password) +* [`admin:user:create`](#adminusercreate) +* [`admin:user:list`](#adminuserlist) -Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/herve/www/prestashop/versions/176/config/bootstrap.php on line 89 +**analyze:** -Call Stack: - 0.0001 403768 1. {main}() /home/herve/www/prestashop/modules/prestashop_console/console_dev.php:0 - 0.0032 800944 2. include_once('/home/herve/www/prestashop/versions/176/config/config.inc.php') /home/herve/www/prestashop/modules/prestashop_console/console_dev.php:35 - 0.1107 4217640 3. require_once('/home/herve/www/prestashop/versions/176/config/bootstrap.php') /home/herve/www/prestashop/versions/176/config/config.inc.php:57 - 0.1344 4369416 4. array_walk($array = ['database_host' => '127.0.0.1', 'database_port' => '', 'database_name' => 'prestashop_176', 'database_user' => 'root', 'database_password' => 'root', 'database_prefix' => 'ps_', 'database_engine' => 'InnoDB', 'mailer_transport' => 'smtp', 'mailer_host' => '127.0.0.1', 'mailer_user' => NULL, 'mailer_password' => NULL, 'secret' => '7hXRhvVGGL3ZDRoC4DJdnhnTa92mbaiTH3FRfsKp39827Bj9gvts47ZY', 'ps_caching' => 'CacheMemcache', 'ps_cache_enable' => FALSE, 'ps_creation_date' => '2020-06-19', 'locale' => 'fr-FR', 'use_debug_toolbar' => TRUE, 'cookie_key' => 'bFOnXsLguRx2izhkAC7H86tvwGCQ3HQbBZ0FfpyetnCxW2quuza2h834', 'cookie_iv' => 'ssc7ST4f', 'new_cookie_key' => 'def0000027ce6526f0fe67dc24f355a804b76f53d72928dec268764f0df964ee1eab7552f590986709f7954660dee8be1b000bdef9f08556e95dbade9f1e142a7575239a'], $callback = class Closure { virtual $closure = "{closure}", public $parameter = ['&$param' => ''] }) /home/herve/www/prestashop/versions/176/config/bootstrap.php:90 - 0.1345 4369808 5. {closure:/home/herve/www/prestashop/versions/176/config/bootstrap.php:88-90}($param = NULL, 'mailer_user') /home/herve/www/prestashop/versions/176/config/bootstrap.php:90 - 0.1345 4370064 6. str_replace($search = '%%', $replace = '%', $subject = NULL) /home/herve/www/prestashop/versions/176/config/bootstrap.php:89 +* [`analyze:carriers`](#analyzecarriers) +* [`analyze:global`](#analyzeglobal) +* [`analyze:payments`](#analyzepayments) +* [`analyze:tables:size`](#analyzetablessize) +* [`analyze:website`](#analyzewebsite) +**cache:** -Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /home/herve/www/prestashop/versions/176/config/bootstrap.php on line 89 +* [`cache:clean`](#cacheclean) +* [`cache:clearAll`](#cacheclearAll) +* [`cache:flush`](#cacheflush) +* [`cache:media`](#cachemedia) +* [`cache:smarty:clear`](#cachesmartyclear) +* [`cache:smarty:configure`](#cachesmartyconfigure) -Call Stack: - 0.0001 403768 1. {main}() /home/herve/www/prestashop/modules/prestashop_console/console_dev.php:0 - 0.0032 800944 2. include_once('/home/herve/www/prestashop/versions/176/config/config.inc.php') /home/herve/www/prestashop/modules/prestashop_console/console_dev.php:35 - 0.1107 4217640 3. require_once('/home/herve/www/prestashop/versions/176/config/bootstrap.php') /home/herve/www/prestashop/versions/176/config/config.inc.php:57 - 0.1344 4369416 4. array_walk($array = ['database_host' => '127.0.0.1', 'database_port' => '', 'database_name' => 'prestashop_176', 'database_user' => 'root', 'database_password' => 'root', 'database_prefix' => 'ps_', 'database_engine' => 'InnoDB', 'mailer_transport' => 'smtp', 'mailer_host' => '127.0.0.1', 'mailer_user' => '', 'mailer_password' => NULL, 'secret' => '7hXRhvVGGL3ZDRoC4DJdnhnTa92mbaiTH3FRfsKp39827Bj9gvts47ZY', 'ps_caching' => 'CacheMemcache', 'ps_cache_enable' => FALSE, 'ps_creation_date' => '2020-06-19', 'locale' => 'fr-FR', 'use_debug_toolbar' => TRUE, 'cookie_key' => 'bFOnXsLguRx2izhkAC7H86tvwGCQ3HQbBZ0FfpyetnCxW2quuza2h834', 'cookie_iv' => 'ssc7ST4f', 'new_cookie_key' => 'def0000027ce6526f0fe67dc24f355a804b76f53d72928dec268764f0df964ee1eab7552f590986709f7954660dee8be1b000bdef9f08556e95dbade9f1e142a7575239a'], $callback = class Closure { virtual $closure = "{closure}", public $parameter = ['&$param' => ''] }) /home/herve/www/prestashop/versions/176/config/bootstrap.php:90 - 0.1346 4369840 5. {closure:/home/herve/www/prestashop/versions/176/config/bootstrap.php:88-90}($param = NULL, 'mailer_password') /home/herve/www/prestashop/versions/176/config/bootstrap.php:90 - 0.1346 4370096 6. str_replace($search = '%%', $replace = '%', $subject = NULL) /home/herve/www/prestashop/versions/176/config/bootstrap.php:89 +**configuration:** +* [`configuration:delete`](#configurationdelete) +* [`configuration:get`](#configurationget) +* [`configuration:getAll`](#configurationgetAll) +* [`configuration:mass`](#configurationmass) +* [`configuration:set`](#configurationset) -Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, Shop given in /home/herve/www/prestashop/versions/176/src/Adapter/EntityMapper.php on line 99 +**console:** -TypeError: array_key_exists(): Argument #2 ($array) must be of type array, Shop given in /home/herve/www/prestashop/versions/176/src/Adapter/EntityMapper.php on line 99 +* [`console:create:command`](#consolecreatecommand) +* [`console:self-upgrade`](#consoleself-upgrade) -Call Stack: - 0.0001 403768 1. {main}() /home/herve/www/prestashop/modules/prestashop_console/console_dev.php:0 - 0.0032 800944 2. include_once('/home/herve/www/prestashop/versions/176/config/config.inc.php') /home/herve/www/prestashop/modules/prestashop_console/console_dev.php:35 - 0.1648 5775296 3. ShopCore::initialize() /home/herve/www/prestashop/versions/176/config/config.inc.php:119 - 0.2184 6677288 4. ShopCore->__construct($id = 1, $id_lang = ???, $id_shop = ???) /home/herve/www/prestashop/versions/176/classes/shop/Shop.php:393 - 0.2184 6677288 5. ObjectModelCore->__construct($id = 1, $id_lang = NULL, $id_shop = NULL, $translator = ???) /home/herve/www/prestashop/versions/176/classes/shop/Shop.php:128 - 0.2229 6762008 6. PrestaShop\PrestaShop\Adapter\EntityMapper->load($id = 1, $id_lang = NULL, $entity = class Shop { public $id = 1; protected $id_lang = NULL; protected $id_shop = NULL; public $id_shop_list = []; protected $get_shop_from_context = TRUE; protected $table = 'shop'; protected $identifier = 'id_shop'; protected $fieldsRequired = [0 => 'name', 1 => 'id_category', 2 => 'id_shop_group']; protected $fieldsSize = ['name' => 64]; protected $fieldsValidate = ['active' => 'isBool', 'deleted' => 'isBool', 'name' => 'isGenericName', 'theme_name' => 'isThemeName']; protected $fieldsRequiredLang = []; protected $fieldsSizeLang = []; protected $fieldsValidateLang = []; protected $tables = []; protected $webserviceParameters = ['fields' => [...]]; protected $image_dir = NULL; protected $image_format = 'jpg'; protected $translator = NULL; protected $def = ['table' => 'shop', 'primary' => 'id_shop', 'fields' => [...], 'classname' => 'Shop']; protected $update_fields = NULL; public $force_id = FALSE; public $id_shop_group = NULL; public $id_category = NULL; public $theme_name = NULL; public $name = NULL; public $active = TRUE; public $deleted = NULL; public $physical_uri = NULL; public $virtual_uri = NULL; public $domain = NULL; public $domain_ssl = NULL; protected $group = NULL; public $theme = NULL }, $entity_defs = ['table' => 'shop', 'primary' => 'id_shop', 'fields' => ['active' => [...], 'deleted' => [...], 'name' => [...], 'id_category' => [...], 'theme_name' => [...], 'id_shop_group' => [...]], 'classname' => 'Shop'], $id_shop = NULL, $should_cache_objects = TRUE) /home/herve/www/prestashop/versions/176/classes/ObjectModel.php:264 - 0.2245 6771592 7. array_key_exists($key = 'id_shop', $array = class Shop { public $id = 1; protected $id_lang = NULL; protected $id_shop = NULL; public $id_shop_list = []; protected $get_shop_from_context = TRUE; protected $table = 'shop'; protected $identifier = 'id_shop'; protected $fieldsRequired = [0 => 'name', 1 => 'id_category', 2 => 'id_shop_group']; protected $fieldsSize = ['name' => 64]; protected $fieldsValidate = ['active' => 'isBool', 'deleted' => 'isBool', 'name' => 'isGenericName', 'theme_name' => 'isThemeName']; protected $fieldsRequiredLang = []; protected $fieldsSizeLang = []; protected $fieldsValidateLang = []; protected $tables = []; protected $webserviceParameters = ['fields' => [...]]; protected $image_dir = NULL; protected $image_format = 'jpg'; protected $translator = NULL; protected $def = ['table' => 'shop', 'primary' => 'id_shop', 'fields' => [...], 'classname' => 'Shop']; protected $update_fields = NULL; public $force_id = FALSE; public $id_shop_group = NULL; public $id_category = NULL; public $theme_name = NULL; public $name = NULL; public $active = TRUE; public $deleted = NULL; public $physical_uri = NULL; public $virtual_uri = NULL; public $domain = NULL; public $domain_ssl = NULL; protected $group = NULL; public $theme = NULL }) /home/herve/www/prestashop/versions/176/src/Adapter/EntityMapper.php:99 +**db:** +* [`db:export`](#dbexport) +* [`db:import`](#dbimport) +* [`db:query`](#dbquery) + +**dev:** + +* [`dev:add-index-files`](#devadd-index-files) +* [`dev:anonymize:customer`](#devanonymizecustomer) +* [`dev:change-domain`](#devchange-domain) +* [`dev:clean`](#devclean) +* [`dev:cron:list`](#devcronlist) +* [`dev:cron:run`](#devcronrun) +* [`dev:ide-class-names`](#devide-class-names) +* [`dev:list-overrides`](#devlist-overrides) +* [`dev:mode`](#devmode) + +**hook:** + +* [`hook:list`](#hooklist) +* [`hook:modules`](#hookmodules) + +**images:** + +* [`images:export`](#imagesexport) +* [`images:generate:categories`](#imagesgeneratecategories) +* [`images:generate:manufacturers`](#imagesgeneratemanufacturers) +* [`images:generate:products`](#imagesgenerateproducts) +* [`images:generate:stores`](#imagesgeneratestores) +* [`images:generate:suppliers`](#imagesgeneratesuppliers) + +**install:** + +* [`install:info`](#installinfo) +* [`install:install`](#installinstall) + +**module:** + +* [`module:disable`](#moduledisable) +* [`module:enable`](#moduleenable) +* [`module:generate:controller`](#modulegeneratecontroller) +* [`module:generate:model`](#modulegeneratemodel) +* [`module:generate:module`](#modulegeneratemodule) +* [`module:generate:upgrade`](#modulegenerateupgrade) +* [`module:hook:add`](#modulehookadd) +* [`module:hook:list`](#modulehooklist) +* [`module:hook:remove`](#modulehookremove) +* [`module:install`](#moduleinstall) +* [`module:list`](#modulelist) +* [`module:reset`](#modulereset) +* [`module:tab:add`](#moduletabadd) +* [`module:tab:list`](#moduletablist) +* [`module:tab:remove`](#moduletabremove) +* [`module:uninstall`](#moduleuninstall) + +**parameters:** + +* [`parameters:generate:htaccess`](#parametersgeneratehtaccess) +* [`parameters:generate:robots`](#parametersgeneraterobots) + +**preferences:** + +* [`preferences:cmscategory`](#preferencescmscategory) +* [`preferences:cmspage`](#preferencescmspage) +* [`preferences:maintenance`](#preferencesmaintenance) +* [`preferences:override`](#preferencesoverride) +* [`preferences:search:index`](#preferencessearchindex) +* [`preferences:urlrewrite`](#preferencesurlrewrite) + +**webservice:** + +* [`webservice:key:create`](#webservicekeycreate) +* [`webservice:key:delete`](#webservicekeydelete) + +`help` +------ + +Displays help for a command + +### Usage + +* `help [--format FORMAT] [--raw] [--] []` + +The help command displays help for a given command: + + php console_dev.php help list + +You can also output the help in other formats by using the --format option: + + php console_dev.php help --format=xml list + +To display the list of available commands, please use the list command. + +### Arguments + +#### `command_name` + +The command name + +* Is required: no +* Is array: no +* Default: `'help'` + +### Options + +#### `--format` + +The output format (txt, xml, json, or md) + +* Accept value: yes +* Is value required: yes +* Is multiple: no +* Default: `'txt'` + +#### `--raw` + +To output raw command help + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--help|-h` + +Display this help message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--quiet|-q` + +Do not output any message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--verbose|-v|-vv|-vvv` + +Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--version|-V` + +Display this application version + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--ansi` + +Force ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-ansi` + +Disable ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-interaction|-n` + +Do not ask any interactive question + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +`list` +------ + +Lists commands + +### Usage + +* `list [--raw] [--format FORMAT] [--] []` + +The list command lists all commands: + + php console_dev.php list + +You can also display the commands for a specific namespace: + + php console_dev.php list test + +You can also output the information in other formats by using the --format option: + + php console_dev.php list --format=xml + +It's also possible to get raw list of commands (useful for embedding command runner): + + php console_dev.php list --raw + +### Arguments + +#### `namespace` + +The namespace name + +* Is required: no +* Is array: no +* Default: `NULL` + +### Options + +#### `--raw` + +To output raw command list + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--format` + +The output format (txt, xml, json, or md) + +* Accept value: yes +* Is value required: yes +* Is multiple: no +* Default: `'txt'` + +`admin:user:change-password` +---------------------------- + +Change admin user password + +### Usage + +* `admin:user:change-password` + +Change admin user password + +### Options + +#### `--help|-h` + +Display this help message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--quiet|-q` + +Do not output any message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--verbose|-v|-vv|-vvv` + +Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--version|-V` + +Display this application version + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--ansi` + +Force ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-ansi` + +Disable ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-interaction|-n` + +Do not ask any interactive question + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +`admin:user:create` +------------------- + +Create new admin user + +### Usage + +* `admin:user:create [--email [EMAIL]] [--password [PASSWORD]] [--firstname [FIRSTNAME]] [--lastname [LASTNAME]]` + +Create new admin user + +### Options + +#### `--email` + +Admin email + +* Accept value: yes +* Is value required: no +* Is multiple: no +* Default: `NULL` + +#### `--password` + +Admin password + +* Accept value: yes +* Is value required: no +* Is multiple: no +* Default: `NULL` + +#### `--firstname` + +firstname + +* Accept value: yes +* Is value required: no +* Is multiple: no +* Default: `NULL` + +#### `--lastname` + +lastname + +* Accept value: yes +* Is value required: no +* Is multiple: no +* Default: `NULL` + +#### `--help|-h` + +Display this help message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--quiet|-q` + +Do not output any message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--verbose|-v|-vv|-vvv` + +Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--version|-V` + +Display this application version + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--ansi` + +Force ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-ansi` + +Disable ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-interaction|-n` + +Do not ask any interactive question + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +`admin:user:list` +----------------- + +List admin users + +### Usage + +* `admin:user:list` + +List admin users registered in employee table + +### Options + +#### `--help|-h` + +Display this help message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--quiet|-q` + +Do not output any message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--verbose|-v|-vv|-vvv` + +Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--version|-V` + +Display this application version + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--ansi` + +Force ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-ansi` + +Disable ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-interaction|-n` + +Do not ask any interactive question + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +`analyze:carriers` +------------------ + +List all payments module on the website + +### Usage + +* `analyze:carriers [--active]` + +List all payments module on the website + +### Options + +#### `--active` + +List only active carriers + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--help|-h` + +Display this help message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--quiet|-q` + +Do not output any message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--verbose|-v|-vv|-vvv` + +Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--version|-V` + +Display this application version + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--ansi` + +Force ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-ansi` + +Disable ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-interaction|-n` + +Do not ask any interactive question + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +`analyze:global` +---------------- + +Run a global analysis on the website + +### Usage + +* `analyze:global` + +This command is a "meta command" which run successively the following commands: +- analyze:website (website statistics) +- module:list --active (List all active modules) +- module:list --active --no-native (List all active and non prestashop modules) +- analyze:payments (List installed payments modules) +- analyze:carriers --active (List active carriers modules) +- dev:list-overrides (List overrides of the project) + + +### Options + +#### `--help|-h` + +Display this help message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--quiet|-q` + +Do not output any message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--verbose|-v|-vv|-vvv` + +Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--version|-V` + +Display this application version + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--ansi` + +Force ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-ansi` + +Disable ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-interaction|-n` + +Do not ask any interactive question + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +`analyze:payments` +------------------ + +List all payments modules on the website + +### Usage + +* `analyze:payments` + +List all payments modules on the website + +### Options + +#### `--help|-h` + +Display this help message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--quiet|-q` + +Do not output any message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--verbose|-v|-vv|-vvv` + +Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--version|-V` + +Display this application version + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--ansi` + +Force ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-ansi` + +Disable ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-interaction|-n` + +Do not ask any interactive question + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +`analyze:tables:size` +--------------------- + +Analyze the size of the database tables sorted by size + +### Usage + +* `analyze:tables:size [--limit [LIMIT]]` + +Analyze the size of the database tables sorted by size + +### Options + +#### `--limit` + +Limit to the number of tables + +* Accept value: yes +* Is value required: no +* Is multiple: no +* Default: `NULL` + +#### `--help|-h` + +Display this help message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--quiet|-q` + +Do not output any message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--verbose|-v|-vv|-vvv` + +Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--version|-V` + +Display this application version + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--ansi` + +Force ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-ansi` + +Disable ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-interaction|-n` + +Do not ask any interactive question + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +`analyze:website` +----------------- + +Get website statistics + +### Usage + +* `analyze:website` + +This command show useful statistics about the website +- Prestashop Version +- Installation date +- Customer and orders count and average since installation +- Products and category count + + +### Options + +#### `--help|-h` + +Display this help message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--quiet|-q` + +Do not output any message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--verbose|-v|-vv|-vvv` + +Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--version|-V` + +Display this application version + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--ansi` + +Force ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-ansi` + +Disable ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-interaction|-n` + +Do not ask any interactive question + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +`cache:clean` +------------- + +Clean cache + +### Usage + +* `cache:clean []` + +Clean cache + +### Arguments + +#### `key` + +key name | default * + +* Is required: no +* Is array: no +* Default: `NULL` + +### Options + +#### `--help|-h` + +Display this help message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--quiet|-q` + +Do not output any message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--verbose|-v|-vv|-vvv` + +Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--version|-V` + +Display this application version + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--ansi` + +Force ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-ansi` + +Disable ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-interaction|-n` + +Do not ask any interactive question + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +`cache:clearAll` +---------------- + +Clear all cache + +### Usage + +* `cache:clearAll` + +Clear all cache + +### Options + +#### `--help|-h` + +Display this help message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--quiet|-q` + +Do not output any message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--verbose|-v|-vv|-vvv` + +Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--version|-V` + +Display this application version + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--ansi` + +Force ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-ansi` + +Disable ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-interaction|-n` + +Do not ask any interactive question + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +`cache:flush` +------------- + +Flush cache + +### Usage + +* `cache:flush` + +Flush cache + +### Options + +#### `--help|-h` + +Display this help message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--quiet|-q` + +Do not output any message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--verbose|-v|-vv|-vvv` + +Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--version|-V` + +Display this application version + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--ansi` + +Force ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-ansi` + +Disable ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-interaction|-n` + +Do not ask any interactive question + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +`cache:media` +------------- + +Clean media cache directory + +### Usage + +* `cache:media` + +Clean media cache directory + +### Options + +#### `--help|-h` + +Display this help message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--quiet|-q` + +Do not output any message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--verbose|-v|-vv|-vvv` + +Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--version|-V` + +Display this application version + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--ansi` + +Force ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-ansi` + +Disable ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-interaction|-n` + +Do not ask any interactive question + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +`cache:smarty:clear` +-------------------- + +Clear smarty cache + +### Usage + +* `cache:smarty:clear` + +Clear smarty cache + +### Options + +#### `--help|-h` + +Display this help message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--quiet|-q` + +Do not output any message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--verbose|-v|-vv|-vvv` + +Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--version|-V` + +Display this application version + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--ansi` + +Force ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-ansi` + +Disable ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-interaction|-n` + +Do not ask any interactive question + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +`cache:smarty:configure` +------------------------ + +Configure Smarty cache + +### Usage + +* `cache:smarty:configure ` + +Configure Smarty cache + +### Arguments + +#### `name` + +configuration name + +* Is required: yes +* Is array: no +* Default: `NULL` + +#### `value` + +configuration value + +* Is required: yes +* Is array: no +* Default: `NULL` + +### Options + +#### `--help|-h` + +Display this help message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--quiet|-q` + +Do not output any message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--verbose|-v|-vv|-vvv` + +Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--version|-V` + +Display this application version + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--ansi` + +Force ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-ansi` + +Disable ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-interaction|-n` + +Do not ask any interactive question + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +`configuration:delete` +---------------------- + +delete configuration value + +### Usage + +* `configuration:delete ` + +delete configuration value + +### Arguments + +#### `name` + +configuration name + +* Is required: yes +* Is array: no +* Default: `NULL` + +### Options + +#### `--help|-h` + +Display this help message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--quiet|-q` + +Do not output any message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--verbose|-v|-vv|-vvv` + +Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--version|-V` + +Display this application version + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--ansi` + +Force ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-ansi` + +Disable ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-interaction|-n` + +Do not ask any interactive question + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +`configuration:get` +------------------- + +get configuration value + +### Usage + +* `configuration:get ` + +get configuration value + +### Arguments + +#### `name` + +configuration name + +* Is required: yes +* Is array: no +* Default: `NULL` + +### Options + +#### `--help|-h` + +Display this help message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--quiet|-q` + +Do not output any message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--verbose|-v|-vv|-vvv` + +Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--version|-V` + +Display this application version + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--ansi` + +Force ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-ansi` + +Disable ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-interaction|-n` + +Do not ask any interactive question + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +`configuration:getAll` +---------------------- + +get all configuration values + +### Usage + +* `configuration:getAll` + +get all configuration values + +### Options + +#### `--help|-h` + +Display this help message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--quiet|-q` + +Do not output any message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--verbose|-v|-vv|-vvv` + +Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--version|-V` + +Display this application version + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--ansi` + +Force ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-ansi` + +Disable ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-interaction|-n` + +Do not ask any interactive question + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +`configuration:mass` +-------------------- + +Mass operation configured in yaml file + +### Usage + +* `configuration:mass [--config CONFIG]` + +Mass operation configured in yaml file + +### Options + +#### `--config` + +Yaml definition file + +* Accept value: yes +* Is value required: yes +* Is multiple: no +* Default: `NULL` + +#### `--help|-h` + +Display this help message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--quiet|-q` + +Do not output any message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--verbose|-v|-vv|-vvv` + +Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--version|-V` + +Display this application version + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--ansi` + +Force ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-ansi` + +Disable ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-interaction|-n` + +Do not ask any interactive question + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +`configuration:set` +------------------- + +set configuration value + +### Usage + +* `configuration:set ` + +set configuration value + +### Arguments + +#### `name` + +configuration name + +* Is required: yes +* Is array: no +* Default: `NULL` + +#### `value` + +configuration value + +* Is required: yes +* Is array: no +* Default: `NULL` + +### Options + +#### `--help|-h` + +Display this help message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--quiet|-q` + +Do not output any message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--verbose|-v|-vv|-vvv` + +Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--version|-V` + +Display this application version + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--ansi` + +Force ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-ansi` + +Disable ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-interaction|-n` + +Do not ask any interactive question + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +`console:create:command` +------------------------ + +Create a new command skeleton + +### Usage + +* `console:create:command` + +This command will allow to create a new command through interactives questions +It works only php mode + +### Options + +#### `--help|-h` + +Display this help message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--quiet|-q` + +Do not output any message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--verbose|-v|-vv|-vvv` + +Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--version|-V` + +Display this application version + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--ansi` + +Force ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-ansi` + +Disable ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-interaction|-n` + +Do not ask any interactive question + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +`console:self-upgrade` +---------------------- + +Upgrade console to last version (phar only) + +### Usage + +* `console:self-upgrade` + +Upgrade console to last version (phar only) + +### Options + +#### `--help|-h` + +Display this help message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--quiet|-q` + +Do not output any message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--verbose|-v|-vv|-vvv` + +Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--version|-V` + +Display this application version + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--ansi` + +Force ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-ansi` + +Disable ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-interaction|-n` + +Do not ask any interactive question + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +`db:export` +----------- + +Create db export + +### Usage + +* `db:export [-t|--type [TYPE]] [-g|--gzip [GZIP]] [-f|--filename [FILENAME]] [--single-transaction] [--no-tablespaces]` + +This command will export current prestashop database using mysqldump shell command + +### Options + +#### `--type|-t` + +allowed values all|customers|orders|catalog + +* Accept value: yes +* Is value required: no +* Is multiple: no +* Default: `'all'` + +#### `--gzip|-g` + +compress export in gzip + +* Accept value: yes +* Is value required: no +* Is multiple: no +* Default: `NULL` + +#### `--filename|-f` + +custom file name for export + +* Accept value: yes +* Is value required: no +* Is multiple: no +* Default: `NULL` + +#### `--single-transaction` + +include option --single-transaction to mysqldump + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-tablespaces` + +include option --no-tablespaces to mysqldump + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--help|-h` + +Display this help message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--quiet|-q` + +Do not output any message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--verbose|-v|-vv|-vvv` + +Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--version|-V` + +Display this application version + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--ansi` + +Force ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-ansi` + +Disable ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-interaction|-n` + +Do not ask any interactive question + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +`db:import` +----------- + +Import db dump + +### Usage + +* `db:import [-f|--file FILE] [-g|--gzip [GZIP]]` + +This command will import dumb (gziped or not ) in current prestashop database using mysql shell command + +### Options + +#### `--file|-f` + +* Accept value: yes +* Is value required: yes +* Is multiple: no +* Default: `NULL` + +#### `--gzip|-g` + +gzip + +* Accept value: yes +* Is value required: no +* Is multiple: no +* Default: `NULL` + +#### `--help|-h` + +Display this help message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--quiet|-q` + +Do not output any message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--verbose|-v|-vv|-vvv` + +Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--version|-V` + +Display this application version + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--ansi` + +Force ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-ansi` + +Disable ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-interaction|-n` + +Do not ask any interactive question + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +`db:query` +---------- + +Run sql query on prestashop db + +### Usage + +* `db:query [-s|--query QUERY]` + +This command will exec db query using the prestashop Db class, its only allow SELECT queries + +### Options + +#### `--query|-s` + +* Accept value: yes +* Is value required: yes +* Is multiple: no +* Default: `NULL` + +#### `--help|-h` + +Display this help message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--quiet|-q` + +Do not output any message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--verbose|-v|-vv|-vvv` + +Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--version|-V` + +Display this application version + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--ansi` + +Force ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-ansi` + +Disable ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-interaction|-n` + +Do not ask any interactive question + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +`dev:add-index-files` +--------------------- + +Add missing index.php files in directory + +### Usage + +* `dev:add-index-files ` + +Add missing index.php files in directory + +### Arguments + +#### `dir` + +directory to fill ( relative to ps root path) + +* Is required: yes +* Is array: no +* Default: `NULL` + +### Options + +#### `--help|-h` + +Display this help message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--quiet|-q` + +Do not output any message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--verbose|-v|-vv|-vvv` + +Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--version|-V` + +Display this application version + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--ansi` + +Force ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-ansi` + +Disable ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-interaction|-n` + +Do not ask any interactive question + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +`dev:anonymize:customer` +------------------------ + +Anonymize Customer information + +### Usage + +* `dev:anonymize:customer [--type [TYPE]] [--exclude-emails [EXCLUDE-EMAILS]] [--names [NAMES]]` + +This command will anonymize customer related data (lastname,firstname,email ) without erasing them + +### Options + +#### `--type` + +allowed values all | customers | addresses | newsletter | customer_thread + +* Accept value: yes +* Is value required: no +* Is multiple: no +* Default: `NULL` + +#### `--exclude-emails` + +emails to exclude separated by commas + +* Accept value: yes +* Is value required: no +* Is multiple: no +* Default: `NULL` + +#### `--names` + +anonymize names (default no ) use only for customers + +* Accept value: yes +* Is value required: no +* Is multiple: no +* Default: `NULL` + +#### `--help|-h` + +Display this help message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--quiet|-q` + +Do not output any message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--verbose|-v|-vv|-vvv` + +Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--version|-V` + +Display this application version + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--ansi` + +Force ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-ansi` + +Disable ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-interaction|-n` + +Do not ask any interactive question + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +`dev:change-domain` +------------------- + +Change the domain of the website + +### Usage + +* `dev:change-domain [--physical_uri [PHYSICAL_URI]] [--virtual_uri [VIRTUAL_URI]] [--id_shop [ID_SHOP]] [--] ` + +This command allow to change the domain , physical_uri and virtual_uri of registered shops + +### Arguments + +#### `domain` + +New shop domain + +* Is required: yes +* Is array: no +* Default: `NULL` + +### Options + +#### `--physical_uri` + +Physical uri + +* Accept value: yes +* Is value required: no +* Is multiple: no +* Default: `NULL` + +#### `--virtual_uri` + +Virtual uri + +* Accept value: yes +* Is value required: no +* Is multiple: no +* Default: `NULL` + +#### `--id_shop` + +affected id_shop + +* Accept value: yes +* Is value required: no +* Is multiple: no +* Default: `NULL` + +#### `--help|-h` + +Display this help message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--quiet|-q` + +Do not output any message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--verbose|-v|-vv|-vvv` + +Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--version|-V` + +Display this application version + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--ansi` + +Force ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-ansi` + +Disable ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-interaction|-n` + +Do not ask any interactive question + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +`dev:clean` +----------- + +Clean existing datas with module PsCleaner + +### Usage + +* `dev:clean ` + +Clean existing datas with module PsCleaner + +### Arguments + +#### `type` + +data types. Possibles values all, catalog, sales + +* Is required: yes +* Is array: no +* Default: `NULL` + +### Options + +#### `--help|-h` + +Display this help message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--quiet|-q` + +Do not output any message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--verbose|-v|-vv|-vvv` + +Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--version|-V` + +Display this application version + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--ansi` + +Force ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-ansi` + +Disable ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-interaction|-n` + +Do not ask any interactive question + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +`dev:cron:list` +--------------- + +List cron tasks configured with the module cronjobs + +### Usage + +* `dev:cron:list` + +List cron tasks configured with the module cronjobs + +### Options + +#### `--help|-h` + +Display this help message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--quiet|-q` + +Do not output any message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--verbose|-v|-vv|-vvv` + +Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--version|-V` + +Display this application version + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--ansi` + +Force ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-ansi` + +Disable ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-interaction|-n` + +Do not ask any interactive question + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +`dev:cron:run` +-------------- + +Run cron task configured with the module cronjobs + +### Usage + +* `dev:cron:run ` + +Run cron task configured with the module cronjobs + +### Arguments + +#### `id_cronjob` + +cron job id ( use command dev:cron:list to get it ) + +* Is required: yes +* Is array: no +* Default: `NULL` + +### Options + +#### `--help|-h` + +Display this help message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--quiet|-q` + +Do not output any message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--verbose|-v|-vv|-vvv` + +Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--version|-V` + +Display this application version + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--ansi` + +Force ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-ansi` + +Disable ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-interaction|-n` + +Do not ask any interactive question + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +`dev:ide-class-names` +--------------------- + +Download class names index to resolve autocompletion in IDE + +### Usage + +* `dev:ide-class-names` + +Download class names index to resolve autocompletion in IDE + +### Options + +#### `--help|-h` + +Display this help message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--quiet|-q` + +Do not output any message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--verbose|-v|-vv|-vvv` + +Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--version|-V` + +Display this application version + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--ansi` + +Force ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-ansi` + +Disable ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-interaction|-n` + +Do not ask any interactive question + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +`dev:list-overrides` +-------------------- + +List overrides of classes and controllers in the project + +### Usage + +* `dev:list-overrides` + +List overrides of classes and controllers in the project + +### Options + +#### `--help|-h` + +Display this help message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--quiet|-q` + +Do not output any message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--verbose|-v|-vv|-vvv` + +Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--version|-V` + +Display this application version + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--ansi` + +Force ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-ansi` + +Disable ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-interaction|-n` + +Do not ask any interactive question + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +`dev:mode` +---------- + +Enable / Disable debug mode (to display errors). + +### Usage + +* `dev:mode ` + +Enable / Disable debug mode (to display errors). + +### Arguments + +#### `state` + +enable or disable debug mode ( possible values : enable,disable,toggle) +Be sure to include "include(__DIR__. '/debug_mode.php');" in config/defines.inc.php for this feature to run. + +* Is required: yes +* Is array: no +* Default: `NULL` + +### Options + +#### `--help|-h` + +Display this help message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--quiet|-q` + +Do not output any message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--verbose|-v|-vv|-vvv` + +Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--version|-V` + +Display this application version + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--ansi` + +Force ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-ansi` + +Disable ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-interaction|-n` + +Do not ask any interactive question + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +`hook:list` +----------- + +List all hooks registered in database + +### Usage + +* `hook:list` + +List all hooks registered in database + +### Options + +#### `--help|-h` + +Display this help message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--quiet|-q` + +Do not output any message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--verbose|-v|-vv|-vvv` + +Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--version|-V` + +Display this application version + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--ansi` + +Force ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-ansi` + +Disable ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-interaction|-n` + +Do not ask any interactive question + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +`hook:modules` +-------------- + +List all hooks with hooked modules + +### Usage + +* `hook:modules` + +List all hooks with hooked modules + +### Options + +#### `--help|-h` + +Display this help message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--quiet|-q` + +Do not output any message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--verbose|-v|-vv|-vvv` + +Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--version|-V` + +Display this application version + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--ansi` + +Force ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-ansi` + +Disable ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-interaction|-n` + +Do not ask any interactive question + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +`images:export` +--------------- + +Export images + +### Usage + +* `images:export [-t|--type [TYPE]] [-i|--interactive [INTERACTIVE]] [-a|--archive [ARCHIVE]]` + +Export images + +### Options + +#### `--type|-t` + +type of file to export + +* Accept value: yes +* Is value required: no +* Is multiple: no +* Default: `NULL` + +#### `--interactive|-i` + +Interactive Mode + +* Accept value: yes +* Is value required: no +* Is multiple: no +* Default: `NULL` + +#### `--archive|-a` + +Archive format + +* Accept value: yes +* Is value required: no +* Is multiple: no +* Default: `'tar.gz'` + +#### `--help|-h` + +Display this help message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--quiet|-q` + +Do not output any message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--verbose|-v|-vv|-vvv` + +Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--version|-V` + +Display this application version + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--ansi` + +Force ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-ansi` + +Disable ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-interaction|-n` + +Do not ask any interactive question + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +`images:generate:categories` +---------------------------- + +Regenerate categories thumbnails + +### Usage + +* `images:generate:categories [-f|--force] [--] []...` + +Regenerate categories thumbnails + +### Arguments + +#### `format` + +images formats separated by a space + +* Is required: no +* Is array: yes +* Default: `array ( 0 => 'all',)` + +### Options + +#### `--force|-f` + +Force delete of currents thumbnails + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--help|-h` + +Display this help message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--quiet|-q` + +Do not output any message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--verbose|-v|-vv|-vvv` + +Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--version|-V` + +Display this application version + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--ansi` + +Force ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-ansi` + +Disable ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-interaction|-n` + +Do not ask any interactive question + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +`images:generate:manufacturers` +------------------------------- + +Regenerate manufacturers thumbnails + +### Usage + +* `images:generate:manufacturers [-f|--force] [--] []...` + +Regenerate manufacturers thumbnails + +### Arguments + +#### `format` + +images formats separated by a space + +* Is required: no +* Is array: yes +* Default: `array ( 0 => 'all',)` + +### Options + +#### `--force|-f` + +Force delete of currents thumbnails + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--help|-h` + +Display this help message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--quiet|-q` + +Do not output any message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--verbose|-v|-vv|-vvv` + +Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--version|-V` + +Display this application version + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--ansi` + +Force ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-ansi` + +Disable ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-interaction|-n` + +Do not ask any interactive question + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +`images:generate:products` +-------------------------- + +Regenerate products thumbnails + +### Usage + +* `images:generate:products [-f|--force] [--] []...` + +Regenerate products thumbnails + +### Arguments + +#### `format` + +images formats separated by a space + +* Is required: no +* Is array: yes +* Default: `array ( 0 => 'all',)` + +### Options + +#### `--force|-f` + +Force delete of currents thumbnails + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--help|-h` + +Display this help message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--quiet|-q` + +Do not output any message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--verbose|-v|-vv|-vvv` + +Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--version|-V` + +Display this application version + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--ansi` + +Force ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-ansi` + +Disable ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-interaction|-n` + +Do not ask any interactive question + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +`images:generate:stores` +------------------------ + +Regenerate stores thumbnails + +### Usage + +* `images:generate:stores [-f|--force] [--] []...` + +Regenerate stores thumbnails + +### Arguments + +#### `format` + +images formats separated by a space + +* Is required: no +* Is array: yes +* Default: `array ( 0 => 'all',)` + +### Options + +#### `--force|-f` + +Force delete of currents thumbnails + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--help|-h` + +Display this help message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--quiet|-q` + +Do not output any message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--verbose|-v|-vv|-vvv` + +Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--version|-V` + +Display this application version + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--ansi` + +Force ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-ansi` + +Disable ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-interaction|-n` + +Do not ask any interactive question + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +`images:generate:suppliers` +--------------------------- + +Regenerate suppliers thumbnails + +### Usage + +* `images:generate:suppliers [-f|--force] [--] []...` + +Regenerate suppliers thumbnails + +### Arguments + +#### `format` + +images formats separated by a space + +* Is required: no +* Is array: yes +* Default: `array ( 0 => 'all',)` + +### Options + +#### `--force|-f` + +Force delete of currents thumbnails + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--help|-h` + +Display this help message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--quiet|-q` + +Do not output any message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--verbose|-v|-vv|-vvv` + +Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--version|-V` + +Display this application version + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--ansi` + +Force ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-ansi` + +Disable ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-interaction|-n` + +Do not ask any interactive question + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +`install:info` +-------------- + +prestashop install info + +### Usage + +* `install:info [--raw] [--format FORMAT] [--] []` + +prestashop install info + +### Arguments + +#### `namespace` + +The namespace name + +* Is required: no +* Is array: no +* Default: `NULL` + +### Options + +#### `--raw` + +To output raw command list + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--format` + +The output format (txt, xml, json, or md) + +* Accept value: yes +* Is value required: yes +* Is multiple: no +* Default: `'txt'` + +`install:install` +----------------- + +install prestashop + +### Usage + +* `install:install [--psVersion [PSVERSION]] [--domainName [DOMAINNAME]] [--dbname [DBNAME]] [--dbuser [DBUSER]] [--dbpassword [DBPASSWORD]] [--contactEmail [CONTACTEMAIL]] [--adminpassword [ADMINPASSWORD]] [--directory [DIRECTORY]]` + +install prestashop + +### Options + +#### `--psVersion` + +Prestashop version + +* Accept value: yes +* Is value required: no +* Is multiple: no +* Default: `NULL` + +#### `--domainName` + +domainName + +* Accept value: yes +* Is value required: no +* Is multiple: no +* Default: `NULL` + +#### `--dbname` + +dbname + +* Accept value: yes +* Is value required: no +* Is multiple: no +* Default: `NULL` + +#### `--dbuser` + +dbuser + +* Accept value: yes +* Is value required: no +* Is multiple: no +* Default: `NULL` + +#### `--dbpassword` + +dbpassword + +* Accept value: yes +* Is value required: no +* Is multiple: no +* Default: `NULL` + +#### `--contactEmail` + +contactEmail + +* Accept value: yes +* Is value required: no +* Is multiple: no +* Default: `NULL` + +#### `--adminpassword` + +Adminpassword + +* Accept value: yes +* Is value required: no +* Is multiple: no +* Default: `NULL` + +#### `--directory` + +Install directory + +* Accept value: yes +* Is value required: no +* Is multiple: no +* Default: `NULL` + +#### `--help|-h` + +Display this help message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--quiet|-q` + +Do not output any message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--verbose|-v|-vv|-vvv` + +Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--version|-V` + +Display this application version + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--ansi` + +Force ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-ansi` + +Disable ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-interaction|-n` + +Do not ask any interactive question + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +`module:disable` +---------------- + +Disable module + +### Usage + +* `module:disable ()...` + +Disable module + +### Arguments + +#### `name` + +module name ( separate multiple with spaces ) + +* Is required: yes +* Is array: yes +* Default: `array ()` + +### Options + +#### `--help|-h` + +Display this help message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--quiet|-q` + +Do not output any message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--verbose|-v|-vv|-vvv` + +Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--version|-V` + +Display this application version + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--ansi` + +Force ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-ansi` + +Disable ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-interaction|-n` + +Do not ask any interactive question + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +`module:enable` +--------------- + +Enable module + +### Usage + +* `module:enable ()...` + +Enable module + +### Arguments + +#### `name` + +module name ( separate multiple with spaces ) + +* Is required: yes +* Is array: yes +* Default: `array ()` + +### Options + +#### `--help|-h` + +Display this help message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--quiet|-q` + +Do not output any message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--verbose|-v|-vv|-vvv` + +Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--version|-V` + +Display this application version + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--ansi` + +Force ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-ansi` + +Disable ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-interaction|-n` + +Do not ask any interactive question + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +`module:generate:controller` +---------------------------- + +Generate module controller file + +### Usage + +* `module:generate:controller [-t|--template TEMPLATE] [-m|--model MODEL] [--] ` + +This command generate controller for the given module + +You can create front controller +module:generate:controller samplemodule controllerName front : +By default a smarty template will be automatically created for this controller. + +Or you can create admin controller : +module:generate:controller samplemodule controllerName admin : +Experimental feature +You can provide an ObjectModel to generate the grid automatically with option --model=ObjectModelClass +This class should exists in the directory "class" of your module + +### Arguments + +#### `moduleName` + +module name + +* Is required: yes +* Is array: no +* Default: `NULL` + +#### `controllerName` + +controller name + +* Is required: yes +* Is array: no +* Default: `NULL` + +#### `controllerType` + +controller type (front|admin) + +* Is required: yes +* Is array: no +* Default: `NULL` + +### Options + +#### `--template|-t` + +generate template + +* Accept value: yes +* Is value required: yes +* Is multiple: no +* Default: `true` + +#### `--model|-m` + +Model for admin controller + +* Accept value: yes +* Is value required: yes +* Is multiple: no +* Default: `NULL` + +#### `--help|-h` + +Display this help message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--quiet|-q` + +Do not output any message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--verbose|-v|-vv|-vvv` + +Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--version|-V` + +Display this application version + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--ansi` + +Force ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-ansi` + +Disable ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-interaction|-n` + +Do not ask any interactive question + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +`module:generate:model` +----------------------- + +Generate module model object + +### Usage + +* `module:generate:model []` + +Generate module model object + +### Arguments + +#### `moduleName` + +module name + +* Is required: yes +* Is array: no +* Default: `NULL` + +#### `objectClass` + +object class + +* Is required: no +* Is array: no +* Default: `NULL` + +### Options + +#### `--help|-h` + +Display this help message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--quiet|-q` + +Do not output any message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--verbose|-v|-vv|-vvv` + +Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--version|-V` + +Display this application version + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--ansi` + +Force ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-ansi` + +Disable ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-interaction|-n` + +Do not ask any interactive question + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +`module:generate:module` +------------------------ + +Generate module main file + +### Usage + +* `module:generate:module [-i|--interactive [INTERACTIVE]] [-a|--author [AUTHOR]] [-dn|--displayName [DISPLAYNAME]] [-d|--description [DESCRIPTION]] [-l|--hookList [HOOKLIST]] [-w|--widget [WIDGET]] [-t|--templates [TEMPLATES]] [--with-configuration] [--] ` + +Generate module main file + +### Arguments + +#### `name` + +module name + +* Is required: yes +* Is array: no +* Default: `NULL` + +### Options + +#### `--interactive|-i` + +Interactive Mode + +* Accept value: yes +* Is value required: no +* Is multiple: no +* Default: `NULL` + +#### `--author|-a` + +Module author name + +* Accept value: yes +* Is value required: no +* Is multiple: no +* Default: `'hhennes'` + +#### `--displayName|-dn` + +Display Name + +* Accept value: yes +* Is value required: no +* Is multiple: no +* Default: `'Your module display name'` + +#### `--description|-d` + +Description + +* Accept value: yes +* Is value required: no +* Is multiple: no +* Default: `'Your module description'` + +#### `--hookList|-l` + +Comma separated hook List + +* Accept value: yes +* Is value required: no +* Is multiple: no +* Default: `NULL` + +#### `--widget|-w` + +Implement widget interface + +* Accept value: yes +* Is value required: no +* Is multiple: no +* Default: `NULL` + +#### `--templates|-t` + +Generate hook templates + +* Accept value: yes +* Is value required: no +* Is multiple: no +* Default: `NULL` + +#### `--with-configuration` + +Add a configuration sample form + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--help|-h` + +Display this help message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--quiet|-q` + +Do not output any message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--verbose|-v|-vv|-vvv` + +Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--version|-V` + +Display this application version + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--ansi` + +Force ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-ansi` + +Disable ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-interaction|-n` + +Do not ask any interactive question + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +`module:generate:upgrade` +------------------------- + +Generate module upgrade file + +### Usage + +* `module:generate:upgrade ` + +This command generate an upgrade file in the directory "upgrade" of the given module +In the following format upgrade-moduleVersion.php +Example : +./prestashopConsole.phar generate:module:upgrade samplemodule 0.2.0 : +will generate a file in modules/samplemodule/upgrade/upgrade-0.2.0.php + + +### Arguments + +#### `moduleName` + +module name + +* Is required: yes +* Is array: no +* Default: `NULL` + +#### `moduleVersion` + +module version + +* Is required: yes +* Is array: no +* Default: `NULL` + +### Options + +#### `--help|-h` + +Display this help message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--quiet|-q` + +Do not output any message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--verbose|-v|-vv|-vvv` + +Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--version|-V` + +Display this application version + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--ansi` + +Force ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-ansi` + +Disable ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-interaction|-n` + +Do not ask any interactive question + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +`module:hook:add` +----------------- + +Add module to one or several hooks + +### Usage + +* `module:hook:add ()...` + +Add module to one or several hooks + +### Arguments + +#### `name` + +module name + +* Is required: yes +* Is array: no +* Default: `NULL` + +#### `hooks` + +hooks name ( separate multiple with spaces ) + +* Is required: yes +* Is array: yes +* Default: `array ()` + +### Options + +#### `--help|-h` + +Display this help message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--quiet|-q` + +Do not output any message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--verbose|-v|-vv|-vvv` + +Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--version|-V` + +Display this application version + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--ansi` + +Force ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-ansi` + +Disable ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-interaction|-n` + +Do not ask any interactive question + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +`module:hook:list` +------------------ + +Get modules list + +### Usage + +* `module:hook:list ` + +Get modules list + +### Arguments + +#### `name` + +module name + +* Is required: yes +* Is array: no +* Default: `NULL` + +### Options + +#### `--help|-h` + +Display this help message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--quiet|-q` + +Do not output any message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--verbose|-v|-vv|-vvv` + +Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--version|-V` + +Display this application version + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--ansi` + +Force ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-ansi` + +Disable ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-interaction|-n` + +Do not ask any interactive question + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +`module:hook:remove` +-------------------- + +Remove module to one or several hooks + +### Usage + +* `module:hook:remove ()...` + +Remove module to one or several hooks + +### Arguments + +#### `name` + +module name + +* Is required: yes +* Is array: no +* Default: `NULL` + +#### `hooks` + +hooks name ( separate multiple with spaces ) + +* Is required: yes +* Is array: yes +* Default: `array ()` + +### Options + +#### `--help|-h` + +Display this help message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--quiet|-q` + +Do not output any message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--verbose|-v|-vv|-vvv` + +Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--version|-V` + +Display this application version + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--ansi` + +Force ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-ansi` + +Disable ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-interaction|-n` + +Do not ask any interactive question + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +`module:install` +---------------- + +Install module + +### Usage + +* `module:install ()...` + +Install module + +### Arguments + +#### `name` + +module name ( separate multiple with spaces ) + +* Is required: yes +* Is array: yes +* Default: `array ()` + +### Options + +#### `--help|-h` + +Display this help message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--quiet|-q` + +Do not output any message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--verbose|-v|-vv|-vvv` + +Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--version|-V` + +Display this application version + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--ansi` + +Force ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-ansi` + +Disable ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-interaction|-n` + +Do not ask any interactive question + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +`module:list` +------------- + +Get modules list + +### Usage + +* `module:list [--active] [--no-active] [--installed] [--no-installed] [--native] [--no-native] [--trusted] [--no-trusted] [-1|--with-id]` + +Get modules list + +### Options + +#### `--active` + +List only active modules + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-active` + +List only not active modules + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--installed` + +List only installed modules + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-installed` + +List only not installed modules + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--native` + +List only native modules + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-native` + +List only not native modules + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--trusted` + +List only trusted modules + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-trusted` + +List only not trusted modules + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--with-id|-1` + +Display module ids in list + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--help|-h` + +Display this help message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--quiet|-q` + +Do not output any message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--verbose|-v|-vv|-vvv` + +Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--version|-V` + +Display this application version + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--ansi` + +Force ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-ansi` + +Disable ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-interaction|-n` + +Do not ask any interactive question + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +`module:reset` +-------------- + +Reset module: hard = remove data and reinstall, soft(default) = keep data and reinstall + +### Usage + +* `module:reset [--type [TYPE]] [--] ()...` + +Reset module: hard = remove data and reinstall, soft(default) = keep data and reinstall + +### Arguments + +#### `name` + +module name ( separate multiple with spaces ) + +* Is required: yes +* Is array: yes +* Default: `array ()` + +### Options + +#### `--type` + +hard|soft(default) + +* Accept value: yes +* Is value required: no +* Is multiple: no +* Default: `NULL` + +#### `--help|-h` + +Display this help message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--quiet|-q` + +Do not output any message + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--verbose|-v|-vv|-vvv` + +Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--version|-V` + +Display this application version + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--ansi` + +Force ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-ansi` + +Disable ANSI output + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +#### `--no-interaction|-n` + +Do not ask any interactive question + +* Accept value: no +* Is value required: no +* Is multiple: no +* Default: `false` + +`module:tab:add` +---------------- + +Add module admin tab + +### Usage + +* `module:tab:add [-p|--parentTab [PARENTTAB]] [-i|--icon [ICON]] [--]