Open kkuriata opened 2 years ago
Possibility to use existing variables:
GENERIC_PATH=/some/path SPECIFIC_PATH_1=${GENERIC_PATH}/specific1 SPECIFIC_PATH_2=${GENERIC_PATH}/specific2
Any updates about this?
you can use dotenvx for this
dotenvx
HELLO="World" HELLO2=$HELLO
// index.js console.log(`Hello ${process.env.HELLO}`) console.log(`Hello ${process.env.HELLO2}`)
dotenvx run -- node index.js
Possibility to use existing variables: