Skip to content

Move argument requirement into the tree #164

@Citymonstret

Description

@Citymonstret

Instead of having the requirement be a property of the argument, have it be stored in the command tree together with the argument.

Argument registration would then look something like:

command.required(StringArgument.greedy("potato"));

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions