Type
magento2-module
Module which adds cli option to create customer
magento2-module
None
None
None
None
None
None
None
This module adds a cli command to create a customer.
composer require mdevrees/addcustomercommand
php bin/magento customer:user:create --help
Description:
Create new customer
Usage:
customer:user:create [options]
Options:
--customer-firstname=CUSTOMER-FIRSTNAME (Required) Customer first name
--customer-lastname=CUSTOMER-LASTNAME (Required) Customer last name
--customer-email=CUSTOMER-EMAIL (Required) Customer email
--customer-password=CUSTOMER-PASSWORD (Required) Customer password
--website=WEBSITE (Required) Website ID
--send-email[=SEND-EMAIL] (1/0) Send email? (default 0)
-h, --help Display this help message
-q, --quiet Do not output any message
-V, --version Display this application version
--ansi Force ANSI output
--no-ansi Disable ANSI output
-n, --no-interaction Do not ask any interactive question
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
php bin/magento customer:user:create --customer-firstname="Mycha" --customer-lastname="De Vrees" --customer-email="[email protected]" --customer-password="password" --website="1"
Initial module version, allows users to be added