hecate_plugin_codegen (hecate_sdk v0.6.2)
View SourceCode generation for plugin scaffolding.
Generates Erlang source files from baked-in templates following hecate naming conventions and evoq behaviour patterns.
Four entry points: plugin/1 -- full plugin skeleton (root app, sup, rebar.config, manifest) division/1 -- aggregate + state + department apps desk/1 -- CMD, PRJ, or QRY desk with tests integration/1 -- emitter, listener, process manager, requester, responder
Templates are organized in sub-modules: hecate_plugin_codegen_plugin -- plugin + division templates hecate_plugin_codegen_cmd -- CMD desk templates hecate_plugin_codegen_prj -- PRJ desk templates hecate_plugin_codegen_qry -- QRY desk templates hecate_plugin_codegen_integration -- integration templates
All functions return {ok, [FilePath]} and are idempotent (skip existing files).