-
Notifications
You must be signed in to change notification settings - Fork 121
Seed command docs #944
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
base: 5.x
Are you sure you want to change the base?
Seed command docs #944
Conversation
| # or | ||
| $ bin/cake migrations seed --seed UserSeed | ||
| # One of | ||
| bin/cake migrations seed --seed User |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should IMO remove the option part for the major, it become superfluous and will only bloat docs and maybe confuse people in the long run.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, afaik I did that already ( https://github.com/cakephp/migrations/pull/935/files )
I must have been forgetting the docs update.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think we should be breaking compatibility just for fun.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thats not for fun
The current way is bonkers and completely wrong
The major allows this cleanup - as with all other commands the subset (one specific) of all is an argument never an option. E.g. bake.
| Seed Options | ||
| ------------ | ||
| Additional option |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Additional option | |
| Additional options |
maybe
|
@markstory Maybe hold of with this PR until #939 is done |
Add documentation for new parameter less mode for
migrations seed