| Modifier and Type | Field and Description |
|---|---|
protected Map<String,Object> |
res |
protected List<Parser.CliSwitch> |
switches |
| Constructor and Description |
|---|
CliArguments(List<Parser.CliSwitch> switches) |
| Modifier and Type | Method and Description |
|---|---|
String |
get(String arg)
Get the value of an argument
|
HashMap<String,String> |
map(String arg)
Get a set of key value pairs passed in for the given param
e.g.
|
void |
put(String currentSwitch,
String name,
String value) |
protected List<Parser.CliSwitch> switches
public CliArguments(List<Parser.CliSwitch> switches)
public HashMap<String,String> map(String arg)
arg - the param to getCopyright © 2017. All Rights Reserved.