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

Not clear how to create migration of specific type from CLI #22

Open
ivangretsky opened this issue Oct 2, 2018 · 2 comments
Open

Not clear how to create migration of specific type from CLI #22

ivangretsky opened this issue Oct 2, 2018 · 2 comments

Comments

@ivangretsky
Copy link
Contributor

Good day!

I am truing to create migration of a certain type from cli.
Tried ./vendor/bin/migrate create --type=MODULE, ./vendor/bin/migrate create --type=ModuleMigration and some other variants - it creates only the default one. No clue to this in the command line help.

My humble attempts to debug SEEM to point that the argument is not parsed correctly.

@ivangretsky ivangretsky changed the title Not clear how to create migration of specific task from CLI Not clear how to create migration of specific type from CLI Oct 2, 2018
@rdunk
Copy link

rdunk commented Oct 4, 2018

Try ./vendor/bin/migrate create:module

@ivangretsky
Copy link
Contributor Author

ivangretsky commented Oct 4, 2018

That worked, thanks! Now I noticed those commands in the help list. But ./vendor/bin/migrate create -h still shows this option:

 -t, --type=TYPE       Alternative template type [default: "default"]

Should probably be removed or explained. Will leave this open for some time for @LostKobrakai to see.

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

No branches or pull requests

2 participants