The update contains major changes (backward incompatible API changes)!
Changelog
- Fix argument indentification in autocompletes (#22)
- Handle limitations of options (unique name and SubArgument-InputArgument mixing in the same scope)
- Limit concatenation to InputArguments
- Add action listener to SubArgument
- Only results after the SubArgument included in the event
- All of the registered listeners in the same scope get triggered, command's listener is the last
- The first triggered listener that has a response will respond to the command, all other responders will be ignored
Usage
Maven
<dependency>
<groupId>io.github.s3ns3iw00</groupId>
<artifactId>jcommands</artifactId>
<version>8.0.0</version>
</dependency>
Gradle
dependencies {
implementation 'io.github.s3ns3iw00.jcommands:8.0.0'
}
If you not familiar with these build tools, you can download the jar file below and use it as dependency in your project, but instead it is recommended to use a build tool.