new-user
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseCreate Admin User
创建管理员用户
Create a new admin user in Medusa with the specified email and password.
The user will provide two arguments:
- First argument: email address
- Second argument: password
For example:
/medusa-dev:user admin@test.com supersecretUse the Bash tool to execute the command , replacing with the first argument and with the second argument.
npx medusa user -e <email> -p <password><email><password>Report the results to the user, including:
- Confirmation that the admin user was created successfully
- The email address of the created user
- Any errors that occurred
- Next steps (e.g., logging in to the admin dashboard)
在Medusa中使用指定的邮箱和密码创建一个新的管理员用户。
用户需要提供两个参数:
- 第一个参数:邮箱地址
- 第二个参数:密码
例如:
/medusa-dev:user admin@test.com supersecret使用Bash工具执行命令 ,将替换为第一个参数,替换为第二个参数。
npx medusa user -e <email> -p <password><email><password>向用户报告结果,包括:
- 确认管理员用户是否创建成功
- 已创建用户的邮箱地址
- 出现的任何错误
- 后续步骤(例如,登录管理员控制台)