fix: template

This commit is contained in:
Rogee
2024-12-21 00:25:12 +08:00
parent 58450dd63d
commit 6f04023a42
7 changed files with 26 additions and 20 deletions

View File

@@ -28,8 +28,9 @@ func getTypePkgName(typ string) string {
func CommandGenProvider(root *cobra.Command) {
cmd := &cobra.Command{
Use: "provider",
Short: "Generate providers",
Use: "provider",
Aliases: []string{"p"},
Short: "Generate providers",
Long: `
// @provider
// @provider:[except|only] [returnType] [group]