Originally created by @linux-china on GitHub (Mar 1, 2024).
`.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
```
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
@bioball commented on GitHub (Mar 2, 2024):
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](https://github.com/apple/pkl-pantry/blob/main/packages/pkl.toml/toml.pkl)
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @linux-china on GitHub (Mar 1, 2024).
.envaccepted by lots of frameworks, and easy to be converted to environment variables.For example, pkl as following:
and the pkl could be rendered to dotenv-style:
@LloydNA commented on GitHub (Mar 2, 2024):
I'll work on this issue
@bioball commented on GitHub (Mar 2, 2024):
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
@jtagrgh commented on GitHub (Mar 18, 2024):
@LloydNA Is this currently a WIP?