1
0
Fork 0
mirror of https://github.com/kyverno/policy-reporter.git synced 2024-12-15 17:50:58 +00:00
policy-reporter/cmd/version.go
Frank Jogeleit 72abc63ce0
External SQL DB support (#304)
* Support external Databases

Signed-off-by: Frank Jogeleit <frank.jogeleit@web.de>
2023-05-02 11:00:14 +02:00

17 lines
294 B
Go

package cmd
import (
"fmt"
"github.com/spf13/cobra"
)
func newVersionCMD(version string) *cobra.Command {
return &cobra.Command{
Use: "version",
Short: "Policy Reporter AppVersion",
Run: func(cmd *cobra.Command, args []string) {
fmt.Println("AppVersion: " + version)
},
}
}