evmos.proto.autogen.py.cosmos.autocli.v1
Classes
AppOptionsRequest is the RemoteInfoService/AppOptions request type. |
|
|
AppOptionsResponse is the RemoteInfoService/AppOptions response type. |
|
FlagOptions are options for flags generated from rpc request fields. |
|
ModuleOptions describes the CLI options for a Cosmos SDK module. |
|
PositionalArgDescriptor describes a positional argument. |
|
|
|
RpcCommandOptions specifies options for commands generated from protobuf rpc methods. |
|
ServiceCommandDescriptor describes a CLI command based on a protobuf service. |
- class evmos.proto.autogen.py.cosmos.autocli.v1.AppOptionsRequest[source]
Bases:
MessageAppOptionsRequest is the RemoteInfoService/AppOptions request type.
- class evmos.proto.autogen.py.cosmos.autocli.v1.AppOptionsResponse(module_options: ~typing.Dict[str, ~evmos.proto.autogen.py.cosmos.autocli.v1.ModuleOptions] = <object object>)[source]
Bases:
MessageAppOptionsResponse is the RemoteInfoService/AppOptions response type.
- module_options: Dict[str, ModuleOptions] = <object object>
module_options is a map of module name to autocli module options.
- class evmos.proto.autogen.py.cosmos.autocli.v1.FlagOptions(name: str = <object object>, shorthand: str = <object object>, usage: str = <object object>, default_value: str = <object object>, deprecated: str = <object object>, shorthand_deprecated: str = <object object>, hidden: bool = <object object>)[source]
Bases:
MessageFlagOptions are options for flags generated from rpc request fields. By default, all request fields are configured as flags based on the kebab-case name of the field. Fields can be turned into positional arguments instead by using RpcCommandOptions.positional_args.
hidden hides the flag from help/usage text
- class evmos.proto.autogen.py.cosmos.autocli.v1.ModuleOptions(tx: ~evmos.proto.autogen.py.cosmos.autocli.v1.ServiceCommandDescriptor = <object object>, query: ~evmos.proto.autogen.py.cosmos.autocli.v1.ServiceCommandDescriptor = <object object>)[source]
Bases:
MessageModuleOptions describes the CLI options for a Cosmos SDK module.
- query: ServiceCommandDescriptor = <object object>
query describes the queries commands for the module.
- tx: ServiceCommandDescriptor = <object object>
tx describes the tx commands for the module.
- class evmos.proto.autogen.py.cosmos.autocli.v1.PositionalArgDescriptor(proto_field: str = <object object>, varargs: bool = <object object>)[source]
Bases:
MessagePositionalArgDescriptor describes a positional argument.
- class evmos.proto.autogen.py.cosmos.autocli.v1.QueryBase[source]
Bases:
ServiceBase- async app_options(app_options_request: AppOptionsRequest) AppOptionsResponse[source]
- class evmos.proto.autogen.py.cosmos.autocli.v1.QueryStub(channel: Channel, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: Mapping[str, str | bytes] | Collection[Tuple[str, str | bytes]] | None = None)[source]
Bases:
ServiceStub- async app_options(app_options_request: AppOptionsRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) AppOptionsResponse[source]
- class evmos.proto.autogen.py.cosmos.autocli.v1.RpcCommandOptions(rpc_method: str = <object object>, use: str = <object object>, long: str = <object object>, short: str = <object object>, example: str = <object object>, alias: ~typing.List[str] = <object object>, suggest_for: ~typing.List[str] = <object object>, deprecated: str = <object object>, version: str = <object object>, flag_options: ~typing.Dict[str, ~evmos.proto.autogen.py.cosmos.autocli.v1.FlagOptions] = <object object>, positional_args: ~typing.List[~evmos.proto.autogen.py.cosmos.autocli.v1.PositionalArgDescriptor] = <object object>, skip: bool = <object object>)[source]
Bases:
MessageRpcCommandOptions specifies options for commands generated from protobuf rpc methods.
- alias: List[str] = <object object>
alias is an array of aliases that can be used instead of the first word in Use.
- deprecated: str = <object object>
deprecated defines, if this command is deprecated and should print this string when used.
- flag_options: Dict[str, FlagOptions] = <object object>
flag_options are options for flags generated from rpc request fields. By default all request fields are configured as flags. They can also be configured as positional args instead using positional_args.
- positional_args: List[PositionalArgDescriptor] = <object object>
positional_args specifies positional arguments for the command.
- rpc_method: str = <object object>
rpc_method is short name of the protobuf rpc method that this command is generated from.
- skip: bool = <object object>
skip specifies whether to skip this rpc method when generating commands.
- suggest_for: List[str] = <object object>
suggest_for is an array of command names for which this command will be suggested - similar to aliases but only suggests.
- use: str = <object object>
use is the one-line usage method. It also allows specifying an alternate name for the command as the first word of the usage text. By default the name of an rpc command is the kebab-case short name of the rpc method.
- version: str = <object object>
version defines the version for this command. If this value is non-empty and the command does not define a “version” flag, a “version” boolean flag will be added to the command and, if specified, will print content of the “Version” variable. A shorthand “v” flag will also be added if the command does not define one.
- class evmos.proto.autogen.py.cosmos.autocli.v1.ServiceCommandDescriptor(service: str = <object object>, rpc_command_options: ~typing.List[~evmos.proto.autogen.py.cosmos.autocli.v1.RpcCommandOptions] = <object object>, sub_commands: ~typing.Dict[str, ~evmos.proto.autogen.py.cosmos.autocli.v1.ServiceCommandDescriptor] = <object object>)[source]
Bases:
MessageServiceCommandDescriptor describes a CLI command based on a protobuf service.
- rpc_command_options: List[RpcCommandOptions] = <object object>
rpc_command_options are options for commands generated from rpc methods. If no options are specified for a given rpc method on the service, a command will be generated for that method with the default options.
- service: str = <object object>
service is the fully qualified name of the protobuf service to build the command from. It can be left empty if sub_commands are used instead which may be the case if a module provides multiple tx and/or query services.
- sub_commands: Dict[str, ServiceCommandDescriptor] = <object object>
sub_commands is a map of optional sub-commands for this command based on different protobuf services. The map key is used as the name of the sub-command.