Hello,
Before I start coding yet another static code generator (from
templates) I'd appreciate any insight. Maybe I'm missing some gems,
tools, etc.
Ideally there's a generic tool like g8 in scala [1] that lets you
host your template in a git repo and using
$ g8 new test/gem --name=Hola
will download the repo, ask for the configuration parameters and
merge the templates to generate ready to use code.
I know hoe includes sow e.g.
$ sow Hola
or there's the oldie newgem e.g.
$ newgem Hola
But sow and newgem, for example, are kind of "hard-coded". You
cannot reuse the "built-in" code generator or use a different (remote)
template repo.
If found boilerplater [2] by Michal Fojtik but it looks it's not
even used by Michal any longer itself (only has one example sinatra
example as a gist repo).
Anyways, if you have any comments or insight - greatly appreciated.
Cheers.
[1] https://github.com/n8han/giter8
[2] https://github.com/mfojtik/boilerplater