mirror of
https://github.com/go-kratos/kratos.git
synced 2026-05-22 10:15:24 +02:00
chore: completion command in the comment (#1680)
This commit is contained in:
@@ -18,7 +18,7 @@ var CmdAdd = &cobra.Command{
|
||||
}
|
||||
|
||||
func run(cmd *cobra.Command, args []string) {
|
||||
// kratos add helloworld/v1/helloworld.proto
|
||||
// kratos proto add helloworld/v1/helloworld.proto
|
||||
input := args[0]
|
||||
n := strings.LastIndex(input, "/")
|
||||
if n == -1 {
|
||||
|
||||
Reference in New Issue
Block a user