-
Notifications
You must be signed in to change notification settings - Fork 7
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
Generate projects from templates #19
Comments
It's pretty lightweight as dependencies go, so installing it globally and requiring it in composer.json (for the configs, at least) seems fine. I like the idea of having a CLI command for generating a new project 👍 |
It looks like we can use |
I think it would be good to create templates for the following (❗ are priorities IMO)
I think we want the script to generate the files & Unfortunately, |
So here's where we kind-of stand on this. There isn't one single tool suggestion, and I'm not sure if that's really a bad thing.
|
Right now the templates directory is pretty empty, but I added a branch with a child-theme template. It uses the mustache template syntax that
@wordpress/create-block
uses, so it would be nice to add a CLI command that could generate a project from the template likecreate-block
does.Maybe wporg-repo-tools becomes something you install globally, so that you can run
$ repo-tools/generate child-theme
and it prompts you for all the required values, then generates a child-theme in your current directory? Or something like that :)The text was updated successfully, but these errors were encountered: