/Magelearn_CustomerCreateCommand

Magento 2 Module which creates customer via command line interface with supplied parameters.

Primary LanguagePHP

Magelearn_CustomerCreateCommand

Magento 2 Module which creates customer via command line interface with supplied parameters.

Features

Create customers from command line terminal. It also provides below options:

1. To send email to customer after successful registeration.

2. Add option to Add customer into Newsletter subscriber list.

Configurations

 * magelearn:customer:create
 *   [-f|--customer-firstname CUSTOMER-FIRSTNAME]
 *   [-l|--customer-lastname CUSTOMER-LASTNAME]
 *   [-e|--customer-email CUSTOMER-EMAIL]
 *   [-p|--customer-password CUSTOMER-PASSWORD]
 *   [-w|--website WEBSITE]
 *   [-s|--send-email [SEND-EMAIL]]
 *   [-ns|--newsletter-subscribe [NEWSLETTER-SUBSCRIBE]]
 *
php bin/magento magelearn:customer:create -f "Vijay" -l "Rami" -e "vijaymrami@gmail.com" -p "test123" -w 1
php bin/magento magelearn:customer:create -f "Vijay" -l "Rami" -e "vijaymrami@gmail.com" -p "test123" -w 1 -s 1 --newsletter-subscribe 1

Screenshots

cli-help

cli-run