Slide 7
Slide 7 text
Code Generation with Pkl
7
amends "../Environment.pkl"
appmakerClientId =
"a1b2c3d4e5g6h7i8j9k0A1"
appmakerTemplateId = "4649"
isDarkContentBarStyle = true
itemsPerPage = 20
appearance {
colorAccent = "#333333FF"
colorAccentLight = "#D3D3D3FF"
colorPrimary = "#FFFFFFFF"
}
myEnvironment.pkl
{
"appmakerClientId":
"a1b2c3d4e5g6h7i8j9k0A1",
"appmakerTemplateId": "4649",
"isDarkContentBarStyle": true,
"itemsPerPage": 20,
"appearance": {
"colorAccent": "#333333FF",
"colorAccentLight": "#D3D3D3FF",
"colorPrimary": "#FFFFFFFF"
}
}
my_environment.json
$ pkl eval -f json myEnvironment.pkl -o my_environment.json