Package ai.mindconnect.common.util
Class McEnv
java.lang.Object
ai.mindconnect.common.util.McEnv
Loads the repository's
mc.env file — plain docker-style
KEY=VALUE lines, no quoting or escaping (values are taken verbatim
after the first =), # starts a comment. The file is looked
up in the working directory and then upwards, so the demos find it no
matter whether they run from the repo root or the module directory.
Process environment variables win over file entries.-
Method Summary
-
Method Details
-
get
The value forkey: process env first, then mc.env, elsefallback.
-