PositionalArgDescriptor describes a positional argument.

from message cosmos.autocli.v1.PositionalArgDescriptor

Hierarchy

Constructors

Properties

protoField: string = ""

proto_field specifies the proto field to use as the positional arg. Any fields used as positional args will not have a flag generated.

from field: string proto_field = 1;

varargs: boolean = false

varargs makes a positional parameter a varargs parameter. This can only be applied to last positional parameter and the proto_field must a repeated field.

from field: bool varargs = 2;

fields: FieldList = ...
runtime: ProtoRuntime = proto3
typeName: "cosmos.autocli.v1.PositionalArgDescriptor" = "cosmos.autocli.v1.PositionalArgDescriptor"

Methods