new-user
द्वारा medusajs
मेडुसा में ईमेल और पासवर्ड के साथ एक नया एडमिन उपयोगकर्ता बनाएं। एडमिन क्रेडेंशियल सेट करने के लिए ईमेल और पासवर्ड को कमांड आर्गुमेंट के रूप में स्वीकार करता है। 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)