e11community/envtemplate

Render an output file from a template with ${VAR} substitution from environment variables.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
templatesNewline-separated list of template candidate paths. The rightmost existing file is used, falling back leftward. Required. yes
outputPath to the output file. Required.yes
output-modeFile mode for the output file (chmod-style octal, e.g. "600", "644"). Default: "600". no
envOptional dotenv-format KEY=VALUE lines used as the substitution env. Overrides keys provided by env-file on collision. no
env-fileOptional path to a .env-style file (parsed by dotenv). Combined with the env input, with env winning on key collisions. no

no outputs