This commit is contained in:
Rogee
2025-09-10 20:16:11 +08:00
parent 89069835b9
commit 5e30b470cc
5 changed files with 129 additions and 1 deletions

View File

@@ -19,7 +19,7 @@ func CommandGenProvider(root *cobra.Command) {
Aliases: []string{"p"},
Short: "Generate providers",
Long: `// @provider
// @provider:[except|only] [returnType] [group]
// @provider(cronjob|job|event|grpc|model):[except|only] [returnType] [group]
// when except add tag: inject:"false"
// when only add tag: inject:"true"`,
RunE: commandGenProviderE,