Skip to main content

Module env_production

Module env_production 

Source
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.example used by do:init envs-block rendering (D-09). Preserves key order and blank-line separators from the source file.

Functions§

parse_env_example_structured
Parse .env.example preserving key order and blank-line separators.
read_env_production_keys
Read .env.production and return the list of declared keys, in order. Hard-errors when the file is missing — do:init requires it.