I've had one too on similar lines for quite some time
https://github.com/jaju/properties-clj
Primarily used for the `properties` format, but it supports EDN too via the
`read-edn` function. This library uses the almost-BASH syntax for picking
env variables with default
${USER:some-user} would be
Looks very useful. One suggestion: the example might be easier to read if
you included the values of the env vars, and clarified the way you specify
default values:
{:connection-pool
{:user-name #dyn/prop [DB_USER "accountsuser"] ; default value
"accountsuser"
:user-pw #dyn/prop DB_PW
Oh, yea, very similar. I wasn't tracking, and the overlap is significant.
dyn-edn is just one part, packaged as small as possible, about 90 lines of
code. aero looks similar to io.aviso/config (itself very small), but big
enough to be noticable.
dyn-edn is intended to just plug into whatever yo