Be notified of new releases
Create your free GitHub account today to subscribe to this repository for new releases and build software alongside 28 million developers.Sign up
This release adds data that can be sent to the commands by the calling code. You can think of this as arguments provided by your code instead of the user.
For example, parsing a command with:
Parser.Parse(input, "Hello World!")
The command that is executed has access to the command data through the second parameter provided (
Command.SetAction((arguments, data) => //Data is "Hello World"
Note that this is a breaking change for all commands. Users will simply have to modify their method/lambda signature. In the Java version, the command action is now a
A number of small bugs have also been fixed.