@hairyhenderson I understand this may be a long shot feature request! Anyways, just wanted to get it on your radar, in case it sounds cool.
what
- support a way to create templatized projects, e.g. a full-fledged template manager for boilerplate code
- provide a common way to reference project templates e.g. using github repos
- support a project config file with properties (variables) and a github project source for the template.
why
- Sometimes more "abstractions" is just more convoluted when simple template generation does the job. Template generation is very well understood. It allows projects to diverge, but also provides a way to systematically update by regenerating templates
- The
boilr project appears abandoned
- Gomplate is insanely powerful for templating
our use-cases
Don't get me wrong, gomplate can do this today with some scripting. We do it already to some degree at cloudposse. Just I would love if gomplate became a convention for how to structure templatized projects, rather than everyone creating their own convention. E.g. today, we use a Makefile with a bunch of custom scripting.
- We generate our
README.md from a README.yaml
- Generate the
LICENSE file from the projects configuration
- Automatically create
.github/workflows (or travis/circle/codefresh pipelines) for a project with template parameters
- Create the scaffolding for "terraform" modules
prior art
@hairyhenderson I understand this may be a long shot feature request! Anyways, just wanted to get it on your radar, in case it sounds cool.
what
why
boilrproject appears abandonedour use-cases
Don't get me wrong,
gomplatecan do this today with some scripting. We do it already to some degree at cloudposse. Just I would love ifgomplatebecame a convention for how to structure templatized projects, rather than everyone creating their own convention. E.g. today, we use a Makefile with a bunch of custom scripting.README.mdfrom aREADME.yamlLICENSEfile from the projects configuration.github/workflows(or travis/circle/codefresh pipelines) for a project with template parametersprior art