1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-07 00:17:13 +00:00
kyverno/cmd/cli/kubectl-kyverno/commands/fix/command.go

24 lines
625 B
Go
Raw Normal View History

package fix
import (
"github.com/kyverno/kyverno/cmd/cli/kubectl-kyverno/commands/fix/test"
cobrautils "github.com/kyverno/kyverno/cmd/cli/kubectl-kyverno/utils/cobra"
"github.com/spf13/cobra"
)
func Command() *cobra.Command {
cmd := &cobra.Command{
Use: "fix",
Short: cobrautils.FormatDescription(true, websiteUrl, true, description...),
Long: cobrautils.FormatDescription(false, websiteUrl, true, description...),
Example: cobrautils.FormatExamples(examples...),
RunE: func(cmd *cobra.Command, args []string) error {
return cmd.Help()
},
}
cmd.AddCommand(
test.Command(),
)
return cmd
}