use crate::config::Project;
use crate::detector;
pub fn resolve_command(project: &Project) -> Option<String> {
if let Some(cmds) = &project.commands {
if !cmds.is_empty() {
return Some(cmds.join(" && "));
}
}
detector::detect_command(&project.path)
}