kemalyst / kemalyst-generator

Rails like command line for Kemalyst
MIT License
12 stars 2 forks source link

Crustashe vs Teeplate #15

Closed drujensen closed 7 years ago

drujensen commented 7 years ago

@TechMagister I saw you decided to go with Teeplate. I think it's cleaner but I don't know how we will be able to create the ecr's for views.

Any suggestions?

drujensen commented 7 years ago

One option is to generate slang templates instead. https://github.com/jeromegn/slang

What do you think?

TechMagister commented 7 years ago

It would be great to handle multiple templates engines, because slim is a good template language but the syntax is very different from the others ( liquid, ecr, mustache, ... )

Why not using slang (slim) by default, but in my opinion, it's necessary to, at least, be able to generate templates for each engine supported by kilt.

drujensen commented 7 years ago

👍 maybe we can convert slang to ecr in a post process if -t ecr is passed in as a parameter.