diff --git a/Cargo.toml b/Cargo.toml index 6be9208..de8add6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -29,4 +29,5 @@ shulkerbox = { git = "https://github.com/moritz-hoelting/shulkerbox", default-fe git2 = { version = "0.18.3", default-features = false } path-absolutize = "3.1.1" color-eyre = "0.6.3" +dotenvy = "0.15.7" diff --git a/src/main.rs b/src/main.rs index b246dbf..46bec68 100644 --- a/src/main.rs +++ b/src/main.rs @@ -5,6 +5,8 @@ use shulkerscript::cli::Args; fn main() -> ExitCode { color_eyre::install().unwrap(); + let _ = dotenvy::dotenv(); + let args = Args::parse(); match args.run() {