Add a query to list authorities #42
@ -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