nightstory/replace-env

Replace environment variables in files

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
Runtime
Deprecated runtime
namedescriptionrequireddefault
input_filePath to file with the placeholders to replace. If directory, will replace all files in the directory.yes
output_filePath to output file. If `input_file` is directory, will be a directory too. Optional, defaults to `input_file`no""
fail_on_missing_envWhether to fail if an env var mentioned in the input file does not existnofalse
patternPattern to replace the variables: single_dollar_brackets, double_dollar_brackets, double_underscorenosingle_dollar_brackets

no outputs