added a function to update all your git tools.
This commit is contained in:
@@ -12,7 +12,8 @@ use crate::get_user_input;
|
||||
use crate::Project;
|
||||
use crate::box_controls::make_box;
|
||||
|
||||
pub fn switch_project(projects: &mut Vec<Project>){
|
||||
pub fn
|
||||
switch_project(projects: &mut Vec<Project>){
|
||||
for project in projects.clone(){
|
||||
if project.active == false{
|
||||
println!("{} {}|{}", project.id, project.customer, project.project_name);
|
||||
@@ -281,11 +282,11 @@ pub fn remove_project(projects: &mut Vec<Project>, config_path: &PathBuf){
|
||||
|
||||
}
|
||||
else{
|
||||
println!("we need user in put here dummy!!");
|
||||
println!("no project selected! returning...");
|
||||
}
|
||||
}
|
||||
else{
|
||||
println!("we need input here dummy!");
|
||||
println!("no project selected! returning...");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user