Configuration
Use a .gluerc file to set defaults and per-target overrides for code generation.
#Supported config files
Glue auto-detects these files next to your input file:
.gluerc(YAML).gluerc.yaml.gluerc.yml.gluerc.json
If no config file is found, Glue uses built-in defaults.
To use a specific config file:
shell
#How the config is structured
global: defaults applied to every generation entry.gen: a list of per-input rules (files) with optional output and overrides.
#Example
yaml
#Notes
outputsupports{file_name}and{file_ext}placeholders.watermarksupportsfull,short, ornone.python.data_model_librarysupportspydantic,dataclasses,attrs, ormsgspec.