dominicwatts / clicreatecustomer
通过 CLI 使用提供的参数创建 Magento 2 客户
1.0.3
2021-12-04 17:11 UTC
Requires
- php: >=7.1.0
- magento/framework: *
This package is auto-updated.
Last update: 2024-09-04 23:08:15 UTC
README
通过 CLI 使用提供的参数创建客户
安装说明
composer require dominicwatts/clicreatecustomer
php bin/magento setup:upgrade
使用说明
xigen:clicreatecustomer: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]]
php bin/magento xigen:clicreatecustomer:create -f "Dave" -l "Smith" -e "dave@example.com" -p "test123" -w 1
php bin/magento xigen:clicreatecustomer:create -f "Dave" -l "Smith" -e "dave@example.com" -p "test123" -w 1 -s 1