Adhoc File Gen
hof gen joins CUE with Go’s text/template system and diff3.
This section focuses on the adhoc, one-liners
you can write to generate any file from any data.
Learn about writing templates, with extra functions and helpers
Check the tests for complete examples
Want to use and compose code gen modules and dependencies?
Create and use generator modules.
hof gen app.cue -G frontend -G backend -G migrations
See the first-example to learn how.