mirror of
https://github.com/kyverno/policy-reporter.git
synced 2024-12-15 17:50:58 +00:00
72abc63ce0
* Support external Databases Signed-off-by: Frank Jogeleit <frank.jogeleit@web.de>
17 lines
294 B
Go
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)
|
|
},
|
|
}
|
|
}
|