Skip to content

Console command to create a user.#17

Open
beryllium wants to merge 1 commit intosnipe:masterfrom
beryllium:console-create-user
Open

Console command to create a user.#17
beryllium wants to merge 1 commit intosnipe:masterfrom
beryllium:console-create-user

Conversation

@beryllium
Copy link
Copy Markdown
Contributor

Simple console command to create a user:

php artisan create:user email@example.com 'Example Name' exampleusername 'password'

@snipe
Copy link
Copy Markdown
Owner

snipe commented Mar 19, 2017

What's the use case here?

@beryllium
Copy link
Copy Markdown
Contributor Author

I didn't want to use the form to register when I was running in dev mode (based on past experience of all kinds of things getting kicked off by that), and just needed to get the row added to the DB with a valid PW.

Aside from that, I've found CLI commands to be fairly useful for development, testing, and automation. Not typically for production usage.

@beryllium
Copy link
Copy Markdown
Contributor Author

(You're welcome to close it if you still question the utility. It's far from a thrillingly critical feature :) )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants