public abstract static class Launcher.Command extends Object
Modifier and Type | Method and Description |
---|---|
abstract String |
detailedOptions()
Returns a detailed explanation of the command usage
Usage may have multiple lines, indentation of 4 spaces recommended.
|
String |
name()
Returns the name of the sub command
|
abstract void |
run(String[] args)
Starts the command with the provided arguments
|
abstract String |
shortHelp()
Returns a one-liner of the function of this command
|
public Command(String name)
public String name()
public abstract String shortHelp()
public abstract String detailedOptions()
public abstract void run(String[] args)
args
-