mirror of
https://github.com/mudler/luet.git
synced 2025-09-20 10:46:16 +00:00
⚙️ Small fixups and enhancements
This commit is contained in:
committed by
mudler
parent
e70a543f42
commit
c363c916d6
@@ -87,7 +87,7 @@ func printMatches(artefacts map[string]ArtifactMatch) {
|
||||
d := pterm.TableData{{"Program Name", "Version", "License", "Repository"}}
|
||||
for _, m := range artefacts {
|
||||
d = append(d, []string{
|
||||
fmt.Sprintf("%s/%s", m.Package.GetCategory(), m.Package.GetName()),
|
||||
m.Package.HumanReadableString(),
|
||||
pterm.LightGreen(m.Package.GetVersion()), m.Package.GetLicense(), m.Repository.GetName()})
|
||||
}
|
||||
pterm.DefaultTable.WithHasHeader().WithData(d).Render()
|
||||
|
Reference in New Issue
Block a user