Use flag instead of positional arg for owner
All checks were successful
Protobuf / lint (pull_request) Successful in 22s
Build / build (pull_request) Successful in 3m12s
Integration Tests / test-integration (pull_request) Successful in 3m10s
E2E Tests / test-e2e (pull_request) Successful in 4m39s
Unit Tests / test-unit (pull_request) Successful in 2m11s
SDK Tests / sdk_tests_nameservice_expiry (pull_request) Successful in 8m31s
SDK Tests / sdk_tests (pull_request) Successful in 8m18s
SDK Tests / sdk_tests_auctions (pull_request) Successful in 14m1s
All checks were successful
Protobuf / lint (pull_request) Successful in 22s
Build / build (pull_request) Successful in 3m12s
Integration Tests / test-integration (pull_request) Successful in 3m10s
E2E Tests / test-e2e (pull_request) Successful in 4m39s
Unit Tests / test-unit (pull_request) Successful in 2m11s
SDK Tests / sdk_tests_nameservice_expiry (pull_request) Successful in 8m31s
SDK Tests / sdk_tests (pull_request) Successful in 8m18s
SDK Tests / sdk_tests_auctions (pull_request) Successful in 14m1s
This commit is contained in:
parent
245ce01b37
commit
e9c85e63aa
@ -53,10 +53,14 @@ func (am AppModule) AutoCLIOptions() *autocliv1.ModuleOptions {
|
||||
},
|
||||
{
|
||||
RpcMethod: "Authorities",
|
||||
Use: "list-authorities [owner]",
|
||||
Use: "list-authorities",
|
||||
Short: "List authorities (optionally by owner)",
|
||||
PositionalArgs: []*autocliv1.PositionalArgDescriptor{
|
||||
{ProtoField: "owner", Optional: true},
|
||||
FlagOptions: map[string]*autocliv1.FlagOptions{
|
||||
"owner": {
|
||||
Name: "owner",
|
||||
Usage: "Owner to get the authorities for",
|
||||
DefaultValue: "",
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user