You might find it useful or not. It depends on what you can imagine it to be used with, like I had to.
Either way, I created a lib that can fetch environment variables from a file or from the OS where Caché is running.
Mostly know as dotenv. Many languages have it, so why not Caché?
The usage is pretty simple:
If you want to use OS env vars exclusively, just use the method:
Otherwise, if you want to specify a .env file containing your variables to complement the OS ones use the method:
Both methods return an %ArrayOfDataTypes containing the env variables.