glenvy
🏞️ A pleasant way to interact with your environment variables.
Installation
gleam add glenvy
Usage
import gleam/io
import gleam/result.{try}
import glenvy/dotenv
import glenvy/env
pub fn main() {
let _ = dotenv.load()
use hello <- try(env.get_string("HELLO"))
io.println("HELLO=" <> hello)
Ok(Nil)
}