Matt-MX / KtPaperGui

Declarative GUI focused library for PaperMC. Made for personal use but open source enjoy! :)
Apache License 2.0
25 stars 5 forks source link

Declarative Command processing #26

Closed Matt-MX closed 2 months ago

Matt-MX commented 3 months ago

Rewrite how arguments and sub-commands are decided by trying each argument to get it's value at it's expected position.

We need to support #25 by allowing for options and flags at the end of the process.

Matt-MX commented 3 months ago

We should also use this to process the arguments only once instead of validating arguments, then getting the value of them.