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",
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: "",
},
},
},
{