diff --git a/cmd/mbf/main.go b/cmd/mbf/main.go index 62588a3..81e2dfc 100644 --- a/cmd/mbf/main.go +++ b/cmd/mbf/main.go @@ -175,6 +175,17 @@ func main() { fmt.Println("website : " + strings.TrimSuffix(meta.Website, "/")) } + if len(meta.Dependencies) > 0 { + fmt.Print("depends on :") + for _, d := range meta.Dependencies { + s := rosa.GetMetadata(d).Name + if version := rosa.Std.Version(d); version != rosa.Unversioned { + s += "-" + version + } + fmt.Print(" " + s) + } + fmt.Println() + } const statusPrefix = "status : " if flagStatus {