added set dot env
This commit is contained in:
+5
-1
@@ -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: {}",
|
||||
|
||||
Reference in New Issue
Block a user