From 6a0c912a3fbd8e9b3e87ef40e960803d819d966d Mon Sep 17 00:00:00 2001 From: soryu Date: Thu, 5 Feb 2026 01:42:59 +0000 Subject: Add makima directives --- makima/src/bin/makima.rs | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'makima/src/bin/makima.rs') diff --git a/makima/src/bin/makima.rs b/makima/src/bin/makima.rs index 71272f1..f9c981f 100644 --- a/makima/src/bin/makima.rs +++ b/makima/src/bin/makima.rs @@ -962,8 +962,15 @@ async fn run_chain( if let Some(desc) = &chain.description { println!("Description: {}", desc); } - if let Some(repo) = &chain.repository_url { - println!("Repository: {}", repo); + if !chain.repositories.is_empty() { + println!("Repositories:"); + for repo in &chain.repositories { + if let Some(url) = &repo.repository_url { + println!(" - {} ({})", repo.name, url); + } else if let Some(path) = &repo.local_path { + println!(" - {} (local: {})", repo.name, path); + } + } } println!(); -- cgit v1.2.3