jneug / parboil

:rice: Parboil lets you generate boilerplate projects from template files.
MIT License
0 stars 0 forks source link

Refactor template flow #6

Closed jneug closed 3 years ago

jneug commented 3 years ago

The flow for using a template with boil use need to be reworked to allow for dynamic alterations to the template compilation (e.g. adding or removing template files to parse). This would allow for more complex field types (see #5).

All relevant project data should be held in a Project class that gets through the flow and can be altered at different points. The class should encapsulate everything about the project template. This would also allow for multiple templates to be used at once or "sub-templates" (See #7).

jneug commented 3 years ago

This should also pass the global config as the context object with click.