Skip to main content

init

Function init 

Source
pub fn init()
Expand description

Load .lenv and .env files into the process environment.

Loads .lenv first (higher priority), then .env (lower priority). Neither overwrites existing environment variables.

This is called automatically at program startup. You only need to call it manually if you want to reload files after the program has started, or if you’re using init_with() with custom paths.