Skip to content

CommandParser should enforce arity settings #614

Closed
@jvalkeal

Description

@jvalkeal

CommandRegistration can have arity min/max which can be interpreted from a type but user can still set it. For example if type is an array or a list user may want to impose restrictions that option arguments takes minimum of 2 and maximum of 3.

Should then add parser exception so that these cases are then reported back to user.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions