sourcelair/env-spec-py

Implement syntax for default values

Closed this issue · 1 comments

Default values help us save some time, so env-spec-py should support optionally declaring default values for environment variables.

Example

Input

DATABASE_URL: url=postgres://USER:PASSWORD@HOST:PORT/NAME

Output

<label for="env_spec_database_url">DATABASE_URL</label>
<input id="env_spec_database_url" name="database_url" type="url" value="postgres://USER:PASSWORD@HOST:PORT/NAME" />

Spec

https://github.com/sourcelair/env-spec#default-values

Closed in #13 (review)