Java Command Dispatch Framework - (Bukkit, Spigot, Paper, Sponge, Bungee, JDA, Velocity supported, generically usable anywhere)
For example, I have my own parsing logic for flags where the order does not matter: ``` /mv entities --name test --eat /mv entities --eat /mv entities --eat --name test ``` Currently what I have to do is as ACF only allows String[] and String to parse more than 1 command arg: ``` void onCommand(... String[] flagArr) { Flags flags = parseFlags(flagArr); // ... } ``` My suggestion is add a @ConsumesRest annotation which will allow our own custom classes to consume all the args as well, e.g.: ``` void onCommand(... @ConsumesRest Flags flag) { } // Command context for Flags will be registered ```
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be still under discussion. The issue was opened by benwoo1110 and has received 3 comments.