1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-06 16:06:56 +00:00
kyverno/cmd/cli/kubectl-kyverno/create/command.go
Charles-Edouard Brétéché 5e56f51408
feat: add create user-info cli command (#7780)
Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-07-07 12:32:09 +00:00

19 lines
433 B
Go

package create
import (
"github.com/kyverno/kyverno/cmd/cli/kubectl-kyverno/create/test"
"github.com/kyverno/kyverno/cmd/cli/kubectl-kyverno/create/userinfo"
"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(), userinfo.Command())
return cmd
}