chore: Used common function to list recipes in local machine (#4974)

This commit is contained in:
Lifei Zhou
2025-10-06 13:16:50 +11:00
committed by GitHub
parent bcbfef07a7
commit 0df1e0704b
11 changed files with 235 additions and 275 deletions
+1 -1
View File
@@ -1006,7 +1006,7 @@ pub async fn cli() -> Result<()> {
.unwrap_or(&recipe_name);
let recipe_version =
crate::recipes::search_recipe::retrieve_recipe_file(&recipe_name)
crate::recipes::search_recipe::load_recipe_file(&recipe_name)
.ok()
.and_then(|rf| {
goose::recipe::template_recipe::parse_recipe_content(