mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-05-18 09:17:49 +08:00

This reverts commit 7216086b8cf9eaabcd63ce681ebf59974645464d. Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
19 lines
290 B
Go
19 lines
290 B
Go
package hooks
|
|
|
|
import (
|
|
"fmt"
|
|
"io"
|
|
|
|
"github.com/morikuni/aec"
|
|
)
|
|
|
|
func PrintNextSteps(out io.Writer, messages []string) {
|
|
if len(messages) == 0 {
|
|
return
|
|
}
|
|
fmt.Fprintln(out, aec.Bold.Apply("\nWhat's next:"))
|
|
for _, n := range messages {
|
|
_, _ = fmt.Fprintf(out, " %s\n", n)
|
|
}
|
|
}
|