[feat] Render to dotenv-style formats
Open
- Dominant language
- Java
- Stars
- 11.5k
- Forks
- 402
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 20
Description
`.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
```
Contributor guide
Research direction
Start by locating the Java implementation and entry points for existing output renderers, then inspect how nested properties and scalar values are serialized. Use the examples in the issue as the expected dotenv-style output, including uppercased names and underscore-separated nesting; done means the new format renders equivalent values correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100