1
0
Fork 0
mirror of https://github.com/kyverno/policy-reporter.git synced 2024-12-14 11:57:32 +00:00
policy-reporter/main.go

18 lines
229 B
Go
Raw Permalink Normal View History

2021-02-19 23:58:01 +00:00
package main
import (
"fmt"
"os"
"github.com/kyverno/policy-reporter/cmd"
2021-02-19 23:58:01 +00:00
)
var Version = "development"
2021-02-19 23:58:01 +00:00
func main() {
if err := cmd.NewCLI(Version).Execute(); err != nil {
2021-02-19 23:58:01 +00:00
fmt.Fprintln(os.Stderr, err)
os.Exit(1)
}
}