Versions in this module Expand all Collapse all v1 v1.0.1 Oct 29, 2026 v1.0.0 Oct 26, 2026 Changes in this version + func AtomicWrite(path string, data []byte) error + func Run() + type Config struct + DefOrder map[section][]section + Defs map[section]Defs + Order []section + Prefix string + Sections map[section]*Header + func Load() (*Config, error) + func Parse(r io.Reader) (*Config, error) + func (c *Config) ExampleTOML() string + func (c *Config) ParamNames() map[string]struct{} + func (c *Config) RenderTOML(live any, opts RenderOpts) string + func (c *Config) UIHelp() map[string]FieldHelp + type Def struct + Comment bool + Defaults map[string]any + DockerExample map[string]any + Examples map[string]any + Prefix string + Text string + Title string + type Defs map[section]*Def + type FieldHelp struct + Desc string + Env string + Short string + UIShort string + type Header struct + Docs string + Kind string + NoHeader bool + Notes string + Params []*Param + Prefix string + Tail string + Text string + Title string + type Option struct + Name string + Value any + type Param struct + Apps []string + Default any + Desc string + Docker any + EnvVar string + Example any + Kind string + Name string + OmitCompose bool + Recommend []Option + Short string + UIShort string + func (p *Param) Compose(prefix string) string + func (p *Param) Value() string + type RenderMode int + const RenderExample + const RenderLive + type RenderOpts struct + Mode RenderMode + Persist []string