Sylius icon indicating copy to clipboard operation
Sylius copied to clipboard

[CLI] [FEATURE] admin create command

Open crydotsnake opened this issue 2 years ago • 2 comments

Describe the proposed solution

Hello,

It would be cool to have a sylius:user:create command that creates an admin user account for the backend. I'm not quite sure, if this feature has been already asked (But I can well imagine that this has been asked before).

Additional context

It would be more helpful and save a lot of time.

And since it is already possible to create an admin user in the backend, it can't hurt to have this option in the CLI as well.

crydotsnake avatar Jul 21 '22 09:07 crydotsnake

Hello,

This is an interesting idea, which can surely help some people. As for the name of the command sylius:user:create is too ambiguous, it should be something like sylius:admin-user:create.

Regards,

oallain avatar Jul 22 '22 07:07 oallain

Hello,

This is an interesting idea, which can surely help some people. As for the name of the command sylius:user:create is too ambiguous, it should be something like sylius:admin-user:create.

Regards,

Yes, I agree with you! @oallain

crydotsnake avatar Jul 22 '22 07:07 crydotsnake

I have created a command that creates and admin using app:admin:create

You need to pass the email and the password in the command. Like this:

app:admin:create [email protected] myPassword123

Go to Git Command »

urimarti2610 avatar Nov 16 '22 08:11 urimarti2610