Skip to main content

ler_env_cwd

Function ler_env_cwd 

Source
pub fn ler_env_cwd() -> Option<Vec<String>>
Expand description

Layer 3: reads keys from the .env file in the current working directory.

Re-uses extrair_chaves_env which is pure and testable. Returns None if the .env file does not exist or has no valid keys.