Expand description
Phase 122.2 §6: key-only .env.production parser.
No value parsing, no comment stripping, no classification. The deploy
scaffolder uses these keys to emit a commented envs: block in
.do/app.yaml. Values stay on the developer machine.
Enums§
- EnvLine
- Structured line from
.env.exampleused bydo:initenvs-block rendering (D-09). Preserves key order and blank-line separators from the source file.
Functions§
- parse_
env_ example_ structured - Parse
.env.examplepreserving key order and blank-line separators. - read_
env_ production_ keys - Read
.env.productionand return the list of declared keys, in order. Hard-errors when the file is missing —do:initrequires it.