Add environment macro
This release add environment macro. Now you can define config like this:
# defaults.yaml
postgres:
dsn: postgres://${account}:${password}@localhost/
After cfg4py.init()
, the account
and password
will be replaced by its value defined in environment variables.