mirror of
https://github.com/go-kratos/kratos.git
synced 2025-01-28 03:57:02 +02:00
chore: completion command in the comment (#1680)
This commit is contained in:
parent
83ebf53b93
commit
c9e19f1d98
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user