Closed alexisvisco closed 2 hours ago
Hey !
Thanks you for you awesome configuration library, it is pleasant to work with.
I wonder if when filling a template it is possible to say for instance password = env("PG_PASSWORD") ?
password = env("PG_PASSWORD")
Let me explain why : if you want to use this config in production you mght want to use env variables for sensible informations.
https://pkl-lang.org/main/current/language-reference/index.html#resources
It is possible: path = read("env:PATH")
path = read("env:PATH")
Hey !
Thanks you for you awesome configuration library, it is pleasant to work with.
I wonder if when filling a template it is possible to say for instance
password = env("PG_PASSWORD")
?Let me explain why : if you want to use this config in production you mght want to use env variables for sensible informations.