rapicart/customer-commands

Magento 2 - Rapicart 客户命令

安装: 6

依赖关系: 0

建议者: 0

安全: 0

星标: 0

关注者: 2

分支: 0

开放问题: 0

类型:magento2-module

dev-master 2018-09-08 14:42 UTC

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)