pkl
pkl copied to clipboard
[feat] Render to dotenv-style formats
.env accepted by lots of frameworks, and easy to be converted to environment variables.
For example, pkl as following:
name="joe"
server {
host = "localhost"
port =8080
}
and the pkl could be rendered to dotenv-style:
NAME="joe"
SERVER_HOST="localhost"
SERVER_PORT=8080
I'll work on this issue
FYI--it's possible to define an in-language renderer; a renderer doesn't need to be part of the standard library.
For an example of an in-language renderer, see pkl.toml
@LloydNA Is this currently a WIP?