7. Provide Multiple Env Files with Overload
With these files present in your working directory:
dotenv
ALIQUIP=laborisdotenv
VOLUPTATE=voluptate et ametproperties
ALIQUIP=non laborisyaml
commodo: Dolor ipsum tempor ${ALIQUIP}
mollit:
- officia ${VOLUPTATE} minimWhen the following command is executed:
sh
$ dotenv-subst --overload --env-file=.env --env-file=.env.dolor --env-file=lorem.properties pariatur.yamlThe interpolated output is written to the file(s) below:
yaml
commodo: Dolor ipsum tempor non laboris
mollit:
- officia voluptate et amet minim🔍 Further Reading
Check out the supported syntax for defining interpolation variables in your source files.
All available command options and flags are documented in CLI Options Reference.