printVersion prints version information.
()
| 568 | |
| 569 | // printVersion prints version information. |
| 570 | func 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 | |
| 579 | func formatProfileAndGroupList(cfg *config.Config, selectedProfile string) string { |
| 580 | var out strings.Builder |
no test coverage detected