Skip to content

JCommands v8.0.0

Latest
Compare
Choose a tag to compare
@S3nS3IW00 S3nS3IW00 released this 06 Jan 19:27
e6ae978

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.