Skip to content

Commit

Permalink
feat: OS and Arch info added to the version command (#348)
Browse files Browse the repository at this point in the history
  • Loading branch information
lindell authored Apr 17, 2023
1 parent 5a4c990 commit 12c0422
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmd/cmd-version.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,7 @@ func version(_ *cobra.Command, _ []string) {
fmt.Printf("multi-gitter version: %s\n", Version)
fmt.Printf("Release-Date: %s\n", BuildDate.Format("2006-01-02"))
fmt.Printf("Go version: %s\n", runtime.Version())
fmt.Printf("OS: %s\n", runtime.GOOS)
fmt.Printf("Arch: %s\n", runtime.GOARCH)
fmt.Printf("Commit: %s\n", Commit)
}

0 comments on commit 12c0422

Please sign in to comment.