Add a query to list authorities #42
@ -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: "",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user