As discussed on zulip, there should be some kind of support for reading environment variables via dotenv files. I think there are two possibilities here.
- Have a
.env file be automatically loaded on any program using the platform.
- Have a function like
Dotenv.load or Env.loadDotenv of type Task {} _ which loads the dotenv file and makes later calls to Env.var use the new environment variables.
As discussed on zulip, there should be some kind of support for reading environment variables via dotenv files. I think there are two possibilities here.
.envfile be automatically loaded on any program using the platform.Dotenv.loadorEnv.loadDotenvof typeTask {} _which loads the dotenv file and makes later calls toEnv.varuse the new environment variables.