Testing out another command parser.
This one seems like it will be good, but there appears to be a bug with it sadly. https://github.com/lexicalscope/jewelcli/issues/28
This commit is contained in:
@ -0,0 +1,16 @@
|
||||
package com.graywolf336.jail.command.jewel;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.lexicalscope.jewel.cli.Option;
|
||||
|
||||
public interface Jailing {
|
||||
@Option(shortName={"player", "pl", "p"})
|
||||
String getPlayer();
|
||||
|
||||
@Option(shortName="c")
|
||||
String getCell();
|
||||
|
||||
@Option(shortName="r")
|
||||
List<String> getReason();
|
||||
}
|
Reference in New Issue
Block a user