Skip to main content
Version: Next

Extension points overview

Luban works via plugin-style extension points. For customization, prefer adding an extension assembly over patching Core.

Extension map

Extension pointRole
PipelineThe full generation pipeline
SchemaCollector / SchemaLoaderHow schema is collected and parsed
DataLoaderNew data source formats
DataValidatorNew validation rules
CodeTargetNew language / code-style output
DataTargetNew data formats
CodeStyleNaming styles
PostProcessPost-generation processing
OutputSaverWhere output is written
TextProviderLocalization text sources

At startup, Luban*.dll assemblies with registration markers are scanned (see SimpleLauncher in the source).

Embedded invocation

You can also reference Luban.Core from your own tools, construct a Pipeline, and run it without going through the CLI.