add support for .env file
This commit is contained in:
parent
3ecf03ebf0
commit
074bf4cc9d
|
@ -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"
|
||||
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue