cloud
cloud copied to clipboard
Move argument requirement into the tree
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"));