1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-10 09:56:55 +00:00
kyverno/cmd/cli/kubectl-kyverno/create/command.go
Charles-Edouard Brétéché a5251aa79b
feat: add create values cli command (#7779)
* feat: add  cli command

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

* feat: add create values cli command

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>

---------

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
2023-07-31 23:48:00 +08:00

26 lines
646 B
Go

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