cloud icon indicating copy to clipboard operation
cloud copied to clipboard

Move argument requirement into the tree

Open Citymonstret opened this issue 3 years ago • 0 comments

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"));

Citymonstret avatar Dec 12 '20 00:12 Citymonstret