Add a query to list authorities #42

Merged
nabarun merged 4 commits from pm-list-authorities into main 2024-07-24 09:14:40 +00:00
Showing only changes of commit e9c85e63aa - Show all commits

View File

@ -53,10 +53,14 @@ func (am AppModule) AutoCLIOptions() *autocliv1.ModuleOptions {
}, },
{ {
RpcMethod: "Authorities", RpcMethod: "Authorities",
Use: "list-authorities [owner]", Use: "list-authorities",
Short: "List authorities (optionally by owner)", Short: "List authorities (optionally by owner)",
PositionalArgs: []*autocliv1.PositionalArgDescriptor{ FlagOptions: map[string]*autocliv1.FlagOptions{
{ProtoField: "owner", Optional: true}, "owner": {
Name: "owner",
Usage: "Owner to get the authorities for",
DefaultValue: "",
},
}, },
}, },
{ {