LemonCore. Dotenv
(lemon_core v0.1.0)
View Source
Minimal .env loader for Lemon runtime processes.
The loader reads <dir>/.env and exports variables into System environment.
Existing environment variables are preserved by default.
Summary
Functions
Load <dir>/.env into process environment.
If dir is nil or empty, the current process directory is used.
Returns :ok when the file is absent or loaded successfully.
Same as load/2, but logs warnings and always returns :ok.
Resolve the .env path for a directory.