Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add arguments to Bakery Setup and create-admin command #808

Closed
abdullahseba opened this issue Oct 26, 2017 · 3 comments
Closed

Add arguments to Bakery Setup and create-admin command #808

abdullahseba opened this issue Oct 26, 2017 · 3 comments
Assignees
Labels
bakery Related to the Bakery feature
Milestone

Comments

@abdullahseba
Copy link
Contributor

Could some sort of argument system be added to bakery?
Something that doesn't require user input like php bakery setup -args 0 localhost username etc or php bakery setup -t 0 -h localhost -u -petc

@alexweissman alexweissman added the bakery Related to the Bakery feature label Oct 26, 2017
@lcharette
Copy link
Member

That's a good idea. Could be useful for automated tests too.

@lcharette lcharette self-assigned this Oct 27, 2017
@lcharette lcharette added this to the 4.1.x milestone Oct 27, 2017
@lcharette lcharette changed the title Add arguments to Bakery Add arguments to Bakery Setup command Dec 5, 2017
@lcharette lcharette modified the milestones: 4.1.x, 4.2.0 Dec 13, 2017
@lcharette lcharette changed the title Add arguments to Bakery Setup command Add arguments to Bakery Setup and create-admin command Mar 17, 2018
lcharette added a commit that referenced this issue Mar 29, 2018
Also rewrote most of the command.
@lcharette
Copy link
Member

Implemented in 32cf371. Just need to update the doc now.

Full example usage :

php bakery setup -f --db_driver=mysql --db_name=UserFrosting --db_host=localhost --db_port=3306 --db_user=homestead --db_password=secret --smtp_host=foo --smtp_user=bar --smtp_password=secret

lcharette added a commit to userfrosting/learn that referenced this issue Mar 30, 2018
Add arguments to Bakery Setup and create-admin command
@lcharette
Copy link
Member

Done !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bakery Related to the Bakery feature
Projects
None yet
Development

No branches or pull requests

3 participants