Package dev.rafex.ether.cli
Class CliDefault
java.lang.Object
dev.rafex.ether.cli.CliDefault
- All Implemented Interfaces:
ICliDefault
public final class CliDefault extends Object implements ICliDefault
-
Field Summary
Fields Modifier and Type Field Description protected String[]argsprotected org.apache.commons.cli.Optionsoptionsprotected Map<String,Object>optionsMapprotected org.apache.commons.cli.CommandLineParserparserFields inherited from interface dev.rafex.ether.cli.ICliDefault
OPTION_LOWERCASE_H, OPTION_LOWERCASE_O, OPTION_LOWERCASE_P, OPTION_LOWERCASE_T, OPTION_LOWERCASE_V, OPTION_UPPERCASE_H, OPTION_UPPERCASE_P, OPTION_UPPERCASE_T -
Method Summary
Modifier and Type Method Description static CliDefaultgetInstance(String[] args)protected voidhelp()ValuesCliparse()
-
Field Details
-
args
-
options
protected final org.apache.commons.cli.Options options -
parser
protected final org.apache.commons.cli.CommandLineParser parser -
optionsMap
-
-
Method Details
-
getInstance
-
parse
- Specified by:
parsein interfaceICliDefault
-
help
protected void help()
-