triumph-cmds
triumph-cmds copied to clipboard
Arguments need validation
- Arguments should be validated by type. If I use
Argument.forInt().name("r").build(),r:testshould return an error to the user. - It would be nice to provide a regex/custom validator method. I need to parse a coordinate to x,y,z format.
- I would also want the ability to customize the message returned to the user. I use localization so it would be nice to have an error interceptor or something.