Skip to content

Commit

Permalink
Provide terminal output after ahkpm update <package> (joshuacc/joshua…
Browse files Browse the repository at this point in the history
  • Loading branch information
hoppfrosch committed Jan 26, 2024
1 parent b0949ad commit a3390eb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/core/installer.go
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,11 @@ func (i Installer) Update(packageNames ...string) error {
WithResolved(oldResolved).
SaveToCwd()

fmt.Println("Update completed:")
for index,element := range lm.Resolved {
fmt.Printf(" %2d - %s * Version: .%s", index + 1, element.Name, element.Version)
}

return nil
}

Expand Down

0 comments on commit a3390eb

Please sign in to comment.