public abstract class CLITool extends Object
Modifier and Type | Class and Description |
---|---|
static class |
CLITool.CLIParsedCLITool |
static class |
CLITool.HelpAliasCLITool |
static class |
CLITool.HelpCLITool |
Modifier and Type | Field and Description |
---|---|
static String[] |
POPULAR_COMMANDS |
Constructor and Description |
---|
CLITool() |
Modifier and Type | Method and Description |
---|---|
Set<String> |
commandaliases()
What short commands aliases should this command respond to
|
String |
commandname()
What commandname should this command respond to
|
String |
help()
Return a long message about how to use this command
|
String |
helpsummary()
Returns a short sentence about what this command is for
|
static void |
main(String[] args) |
static void |
run(Class<? extends CLITool> clz,
String[] args) |
static void |
run(CLITool tool,
String[] args) |
abstract int |
run(String[] args) |
void |
setConfiguration(Object o) |
public static String[] POPULAR_COMMANDS
public void setConfiguration(Object o)
public Set<String> commandaliases()
public String commandname()
public String help()
public String helpsummary()
Terrier Information Retrieval Platform 5.1. Copyright © 2004-2019, University of Glasgow