new-user
작성자: medusajs
Medusa에서 이메일과 비밀번호로 새 관리자 사용자를 생성합니다. 명령 인수로 이메일과 비밀번호를 받아 관리자 자격 증명을 설정합니다. Bash를 통해 -e 및 -p 플래그와 함께 npx medusa user 명령을 실행합니다. 생성 성공, 사용자 이메일, 오류 및 관리자 대시보드 로그인을 위한 다음 단계를 보고합니다.
npx skills add https://github.com/medusajs/medusa-agent-skills --skill new-userCreate 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 supersecret
Use the Bash tool to execute the command npx medusa user -e <email> -p <password>, replacing <email> with the first argument and <password> with the second argument.
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)