MCPcopy Create free account
hub / github.com/devnullvoid/pvetui / printVersion

Function printVersion

internal/bootstrap/bootstrap.go:570–577  ·  view source on GitHub ↗

printVersion prints version information.

()

Source from the content-addressed store, hash-verified

568
569// printVersion prints version information.
570func printVersion() {
571 info := version.GetBuildInfo()
572 fmt.Printf("pvetui version %s\n", info.Version)
573 fmt.Printf("Build date: %s\n", info.BuildDate)
574 fmt.Printf("Commit: %s\n", info.Commit)
575 fmt.Printf("Go version: %s\n", info.GoVersion)
576 fmt.Printf("OS/Arch: %s/%s\n", info.OS, info.Arch)
577}
578
579func formatProfileAndGroupList(cfg *config.Config, selectedProfile string) string {
580 var out strings.Builder

Callers 1

BootstrapFunction · 0.85

Calls 1

GetBuildInfoFunction · 0.92

Tested by

no test coverage detected