e11community/envtemplate
Render an output file from a template with ${VAR} substitution from environment variables.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| templates | Newline-separated list of template candidate paths. The rightmost existing file is used, falling back leftward. Required. | yes | — |
| output | Path to the output file. Required. | yes | — |
| output-mode | File mode for the output file (chmod-style octal, e.g. "600", "644"). Default: "600". | no | — |
| env | Optional dotenv-format KEY=VALUE lines used as the substitution env. Overrides keys provided by env-file on collision. | no | — |
| env-file | Optional path to a .env-style file (parsed by dotenv). Combined with the env input, with env winning on key collisions. | no | — |
Outputs
no outputs