add support for .env file

This commit is contained in:
Moritz Hölting 2024-06-10 15:22:05 +02:00
parent 3ecf03ebf0
commit 074bf4cc9d
2 changed files with 3 additions and 0 deletions

View File

@ -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"

View File

@ -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() {