We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7a3ee6e + 64763af commit ca15ceeCopy full SHA for ca15cee
internal/version/version.go
@@ -22,3 +22,7 @@ func runVersion(cmd *base.Command, args []string) {
22
}
23
fmt.Printf("%s version %s %s/%s\n", base.CmdName, version, runtime.GOOS, runtime.GOARCH)
24
25
+
26
+func String() string {
27
+ return version
28
+}
0 commit comments