Support CUE lang as an alternate templating method. #4735
jakeswenson
started this conversation in
Ideas
Replies: 1 comment 4 replies
-
|
I was able to scrap something together without proper first class integration from Here is the setup for this proof of concept:
|
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This idea would require some flushing out. The current text templates are work for simple templates but mixing template languages inside other configuration languages can become unwieldy and painful to maintain.
Instead I'm wondering if it would be nice to support cue lang templates as well.
Cue Lang is a super powerful configuration language that has a solid well defined type system and can "eval"/generate into many configuration outputs (JSON, YAML, TOML, etc...)
it would be really nice to be able to create
.cuetemplate files that can be used as an alternate (cleaner?) way to build complex templates...Thoughts on this? I could work to put some examples together to help firm it up, but this could obviously turn into a significant chunk of work to figure out how to expose all the current template functions to cue...
Beta Was this translation helpful? Give feedback.
All reactions