Skip to content

Releases: Cyral/Command-Parser

v1.3 Release: Command Data, Bugfixes

30 Jul 21:57

Choose a tag to compare

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 (object data)

 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 BiConsumer.

A number of small bugs have also been fixed.

Bug Fix Release

10 May 00:06

Choose a tag to compare

This release fixes bug #2 and #4, now allowing multiple enum arguments and arguments after them, as well as allowing multiple optional parameters.

1.2 Release, Java Version!

19 Apr 17:21

Choose a tag to compare

This version adds a few minor fixes, as well as a complete Java port!

1.1 Release

04 Apr 14:12

Choose a tag to compare

This is the first complete and stable version of the command parser. Documentation and a short guide has been made at: https://www.pyratron.com/command-parser

Version 0.1 Pre Release

21 Mar 01:12

Choose a tag to compare

Pre-release

This is the first basic release of the command parser, small issues may still be present and functionality is being added.