Documentation
¶
Overview ¶
Package generation provides the template-driven code generator that powers `codefly add` and agent scaffolding.
Given a generation spec (source template tree, destination, and a variable bag), it walks the tree, renders .tmpl files, and writes the result while honoring per-agent overrides for filenames, directory layout, and post-generation hooks.
Index ¶
Constants ¶
View Source
const ServiceGenerationConfigurationName = "service.generation.codefly.yaml"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Replacement ¶ added in v0.1.116
type Service ¶
type Service struct {
Replacements []Replacement `yaml:"replacements"`
Ignores []string `yaml:"ignores"`
SkipTemplatize bool `yaml:"skip-templatize"`
}
Click to show internal directories.
Click to hide internal directories.