pub fn init_env_from_file(path: &str) -> Result<()>Expand description
Application-level helper that initializes environment from a .env file if present.
This is a convenience function for applications (not libraries) that want to
support .env files for local development.
ยงExamples
use riglr_core::util::init_env_from_file;
// Load .env file if it exists (usually at application startup)
init_env_from_file(".env").ok(); // Ignore if file doesn't exist