rapicart / customer-commands
Magento 2 - Rapicart 客户命令
dev-master
2018-09-08 14:42 UTC
Requires
- php: ~5.6.0|~7.0.0|~7.1.3|~7.2.0
- magento/framework: 100.1.*|101.0.*
This package is not auto-updated.
Last update: 2024-09-29 23:48:56 UTC
README
简介
Magento 2 命令是一个强大的工具,也是快速管理我们日常项目的一种方式。因此,我们决定创建这个模块,扩展了出厂设置的 Magento 命令,为用户提供有用的命令来管理客户账户。本模块主要针对希望通过命令行管理客户账户的系统管理员和开发者。
注意:此扩展仍在开发中。如有问题或建议,请随时联系我们。
安装
您需要使用 composer 安装它。转到您的网站根目录,并输入以下命令:
composer require "rapicart/customer-commands":"@dev"
然后,您需要运行以下命令:
php bin/magento module:enable Rapicart_CustomerCommands
php bin/magento setup:upgrade
可用命令
用于管理客户
php bin/magento customer:create (Create or update a customer account)
php bin/magento customer:delete (Delete a customer account)
php bin/magento customer:info (Shows customer account details)
php bin/magento customer:password:update (Update password for a given customer)
用于管理客户地址
php bin/magento customer:address:create (Not implemented yet)
php bin/magento customer:address:delete (Delete a customer address)
php bin/magento customer:address:list (Displays the list of customer addresses)
用于管理客户组
php bin/magento customer:group:create (Create a customer group)
php bin/magento customer:group:delete (Delete a customer group)
php bin/magento customer:group:list (Displays the list of customer groups)