nightstory/replace-env
Replace environment variables in files
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| input_file | Path to file with the placeholders to replace. If directory, will replace all files in the directory. | yes | — |
| output_file | Path to output file. If `input_file` is directory, will be a directory too. Optional, defaults to `input_file` | no | "" |
| fail_on_missing_env | Whether to fail if an env var mentioned in the input file does not exist | no | false |
| pattern | Pattern to replace the variables: single_dollar_brackets, double_dollar_brackets, double_underscore | no | single_dollar_brackets |
Outputs
no outputs