Skip to main content

Module args

Module args 

Source
Expand description

Command argument types, parsing, and validation.

Plugins declare command arguments with types, and the framework handles parsing, validation, error messages, DeclareCommands generation, and TabComplete responses.

Structs§

CommandArg
A declared command argument.
CommandArgs
Parsed command arguments accessible by name.

Enums§

Arg
Argument type for a command parameter.
ArgValue
A parsed argument value.
Validation
Validation behavior for an argument.

Functions§

parse_args
Parses a raw argument string against declared arguments.
parse_command_args
Parses a raw argument string, trying variants if defined.