Modules
Hof & CUE Modules
Every hof generator is also a CUE module,
and in fact, many of hof’s other features can
be used from the module system too.
Hof & CUE’s modules serve the same purpose as other languages,
allowing to to version, share, and reuse code.
“hof mod
” is the subcommand for working with modules and dependencies.
The implementation is based on Go modules.
The name of a module should be the same the git repository.
hof
talks directly to git repositories and many of
hof
’s commands will accept modules as an input argument too.