Skip to content

Commit

Permalink
feat: show compat info in list-available (#55)
Browse files Browse the repository at this point in the history
Fixes #13
  • Loading branch information
agaffney committed Feb 29, 2024
1 parent fb4e3ba commit ccb3efe
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions cmd/cardano-up/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,16 @@ func listAvailableCommand() *cobra.Command {
tmpPackage.Description,
),
)
if len(tmpPackage.Dependencies) > 0 {
tmpOutput := " Requires: "
for idx, dep := range tmpPackage.Dependencies {
tmpOutput += dep
if idx < len(tmpPackage.Dependencies)-1 {
tmpOutput += ` | `
}
}
slog.Info(tmpOutput)
}
}
},
}
Expand Down

0 comments on commit ccb3efe

Please sign in to comment.