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

[Proposal] Generators #5

Closed
mikerockett opened this Issue Apr 8, 2015 · 3 comments

Comments

Projects
None yet
3 participants
@mikerockett

mikerockett commented Apr 8, 2015

I think it would be great if we could use generators for different things, like creating module blueprints:

$ wireshell module:generate ProcessMyModule
$ wireshell module:generate ProcessMyModule --configurable
$ wireshell module:generate ProcessMyModule --configurable --author="author-name"
etc...

Would probably be best to use generate when creating things that are code-based. create should remain as-is for templates etc...

Essentially, this would create the module file, info.json file, and config file (if applicable), pre-filled with the data supplied.

@marcus-herrmann

This comment has been minimized.

Show comment
Hide comment
@marcus-herrmann

marcus-herrmann Apr 16, 2015

Contributor

Will look into this Module Generator script soon, could be the base for a module:generate command: https://processwire.com/talk/topic/9671-processwire-module-generator/#entry93023

Contributor

marcus-herrmann commented Apr 16, 2015

Will look into this Module Generator script soon, could be the base for a module:generate command: https://processwire.com/talk/topic/9671-processwire-module-generator/#entry93023

@mikerockett

This comment has been minimized.

Show comment
Hide comment
@mikerockett

mikerockett Apr 16, 2015

👍

Yeah, bumped into that thread earlier and saw your question.

mikerockett commented Apr 16, 2015

👍

Yeah, bumped into that thread earlier and saw your question.

@justb3a

This comment has been minimized.

Show comment
Hide comment
@justb3a
Member

justb3a commented Dec 11, 2015

@justb3a justb3a closed this Dec 11, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment