vender
vender copied to clipboard
config: per-key default values / include overrides
As configs merging (include mechanic) is implemented right now, whole block will override parent block.
# vender.hcl
ui {
front {
msg_intro = "hello"
msg_wait = "please wait"
}
}
include "local.hcl" {}
# local.hcl
ui {
front {
msg_intro = "welcome"
}
}
Yields config.UI.Front.MsgIntro="welcome" MsgWait=""
Should be config.UI.Front.MsgIntro="welcome" MsgWait="please wait"
Options to explore: hcl2, toml, lua.