added git update index
This commit is contained in:
+4
-1
@@ -4,6 +4,7 @@ use env::config::{load_config, DevToolsConf};
|
||||
use crate::{
|
||||
arguments::Arguments,
|
||||
config::parse::{set_dot_env, set_local_db},
|
||||
git::command::toggle_index,
|
||||
};
|
||||
use clap::Parser;
|
||||
|
||||
@@ -11,6 +12,7 @@ mod arguments;
|
||||
mod config;
|
||||
mod container;
|
||||
mod env;
|
||||
mod git;
|
||||
|
||||
fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
let args: Arguments = Arguments::parse();
|
||||
@@ -21,9 +23,10 @@ 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)?;
|
||||
toggle_index(start)?;
|
||||
|
||||
println!(
|
||||
"Current directory: {}",
|
||||
"Don't forget your interpreter! Current directory: {}",
|
||||
config.current_directory.as_path().to_str().unwrap()
|
||||
);
|
||||
Ok(())
|
||||
|
||||
Reference in New Issue
Block a user