diff options
| author | soryu <soryu@soryu.co> | 2026-02-05 01:42:59 +0000 |
|---|---|---|
| committer | soryu <soryu@soryu.co> | 2026-02-05 01:42:59 +0000 |
| commit | 6a0c912a3fbd8e9b3e87ef40e960803d819d966d (patch) | |
| tree | b2c50c490811286d163e40f8d624ee8d43c0ce43 /makima/src/bin | |
| parent | 0302b4596e14210884df5d645df9a179d8f0c1c6 (diff) | |
| download | soryu-6a0c912a3fbd8e9b3e87ef40e960803d819d966d.tar.gz soryu-6a0c912a3fbd8e9b3e87ef40e960803d819d966d.zip | |
Add makima directives
Diffstat (limited to 'makima/src/bin')
| -rw-r--r-- | makima/src/bin/makima.rs | 11 |
1 files changed, 9 insertions, 2 deletions
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!(); |
