docs: fix autocli for non module commands example code link (#23407)

This commit is contained in:
Zoro 2025-01-17 17:08:57 +08:00 committed by GitHub
parent adc1d3175b
commit ac033af33b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -252,7 +252,7 @@ It is possible to use `AutoCLI` for non module commands. The trick is still to i
For example, here is how the SDK does it for `cometbft` gRPC commands:
```go reference
https://github.com/cosmos/cosmos-sdk/blob/main/client/grpc/cmtservice/autocli.go#L52-L71
https://github.com/cosmos/cosmos-sdk/blob/release/v0.52.x/client/grpc/cmtservice/autocli.go#L52-L71
```
#### Conventions for the `Use` field in Cobra