use std::{fs, path::Path};
pub fn delete(problem_dir: &Path, names: Vec<String>) {
for name in names {
delete_one(problem_dir, name);
}
}
fn delete_one(problem_dir: &Path, name: String) {
fs::remove_file(problem_dir.join(format!("{}.yml", name))).expect("Failed to remove problem");
}