CommandInfo

Describes a command and its parameters.

Members

Variables

description
string description;

The command's description.

namedArgs
NamedArgumentInfo!CommandT[] namedArgs;

Information about all of this command's named arguments.

pattern
Pattern pattern;

The command's Pattern, if it has one.

positionalArgs
PositionalArgumentInfo!CommandT[] positionalArgs;

Information about all of this command's positional arguments.

rawListArg
Nullable!(RawListArgumentInfo!CommandT) rawListArg;

Information about this command's raw list argument, if it has one.

Parameters

CommandT

The command that this information belongs to.

See Also

jaster.cli.infogen.gen.getCommandInfoFor for generating instances of this struct.

Meta