added set dot env

This commit is contained in:
2024-01-22 19:30:27 +01:00
parent 708ae57d1f
commit 1993aca4f2
2 changed files with 62 additions and 50 deletions
+5 -1
View File
@@ -1,7 +1,10 @@
use container::docker::start_docker_compose;
use env::config::{load_config, DevToolsConf};
use crate::{arguments::Arguments, config::parse::set_local_db};
use crate::{
arguments::Arguments,
config::parse::{set_dot_env, set_local_db},
};
use clap::Parser;
mod arguments;
@@ -17,6 +20,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
start_docker_compose(&config.container_service, &config.container_dir, start)?;
set_local_db(start)?;
set_dot_env(start)?;
println!(
"Current directory: {}",