1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-09 01:16:55 +00:00
kyverno/cmd/cli/kubectl-kyverno/create/command.go
Charles-Edouard Brétéché 4a7f7ff30b
feat: add cli command (#7778)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-07-07 11:17:24 +00:00

18 lines
343 B
Go

package create
import (
"github.com/kyverno/kyverno/cmd/cli/kubectl-kyverno/create/test"
"github.com/spf13/cobra"
)
func Command() *cobra.Command {
cmd := &cobra.Command{
Use: "create",
Example: "",
RunE: func(cmd *cobra.Command, args []string) error {
return cmd.Help()
},
}
cmd.AddCommand(test.Command())
return cmd
}