-
Notifications
You must be signed in to change notification settings - Fork 33
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
Console commands #198
Comments
@radutopala I like the idea. Could you provide further details on commands that would be a candidate to be run from I could think of one action is database migrate from app library. |
@jeevatkm I'd see this as a generic gate for any kind of commands that a developer needs to create in his app, similar to what Symfony has done with the Console component Or Buffalo with Grifts. So, basically, we should be allowed:
Examples can be numerous: db migration command, one-off commands, import commands, app specific setup commands etc |
@radutopala Now I fully understood. Thanks. So |
@jeevatkm I've renamed the issue to be in line with the spec 😄 |
…and build flow and moved generated file into directory generated
… and build flow and moved generated file into directory generated
This even could behave like a background Tasks/Jobs run by cron 😍 |
@radutopala Here is the upcoming console commands documentation https://github.com/go-aah/docs/blob/v0.12-edge/console-commands.md Could you have a look and let me know if you have questions? |
Done 😄 |
@jeevatkm top notch, thx |
We should be able to run commands directly from the main binary if in prod env or through
aah
binary when in dev mode.Please see Buffalo grifts at https://github.com/markbates/grift, https://github.com/gobuffalo/buffalo/tree/master/grifts.
console
moduleThe text was updated successfully, but these errors were encountered: