Initial commit

This commit is contained in:
Zhongwei Li
2025-11-30 09:04:14 +08:00
commit 70c36b5eff
248 changed files with 47482 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
package {{.PackageName}}
import (
"github.com/spf13/cobra"
)
// {{.CommandName}}Cmd represents the {{.CommandName}} parent command
var {{.CommandName}}Cmd = &cobra.Command{
Use: "{{.CommandName}}",
Short: "{{.ShortDescription}}",
Long: `{{.LongDescription}}`,
GroupID: "{{.GroupID}}",
}
func init() {
// Add subcommands here
// {{.CommandName}}Cmd.AddCommand({{.CommandName}}ListCmd)
// {{.CommandName}}Cmd.AddCommand({{.CommandName}}CreateCmd)
// {{.CommandName}}Cmd.AddCommand({{.CommandName}}DeleteCmd)
}