network/pkg/installer/steps/installing.go
2026-01-20 10:03:55 +02:00

22 lines
440 B
Go

package steps
import (
"strings"
)
// Installing step shown during installation
type Installing struct {
Output []string
}
// View renders the installing step
func (i *Installing) View() string {
var s strings.Builder
s.WriteString(titleStyle.Render("Installing...") + "\n\n")
s.WriteString("Please wait while the node is being configured.\n\n")
for _, line := range i.Output {
s.WriteString(line + "\n")
}
return s.String()
}