tonerdo / dotnet-env

A .NET library to load environment variables from .env files
MIT License
427 stars 50 forks source link

Parse ${ENV_VAR} in env_file #47

Closed jongio closed 3 years ago

jongio commented 3 years ago

I have Env like this:

BASENAME=${BASENAME}

and ref in tye.yaml

env_file: 
 - .env

Tye will not replace ${BASENAME} with value of currently set env var in process.

Related to #377, but this one is for env_file, 377 is for env. Feel free to combine issues.

azsdke2e azsdke2e2

rogusdev commented 3 years ago

Hey, I don't know what "Tye" is or 377. Can you point at what you mean?

jongio commented 3 years ago

So sorry! I opened this in the wrong repo :)

Opened in correct repo: https://github.com/dotnet/tye/issues/861