public interface ConsolePlugin
Modifier and Type | Method and Description |
---|---|
Object |
doOperation(MangoContext context,
String... args)
The method that is executed when the plugin is run from the command-line.
|
String |
getCommandLineName()
The name of the command-line program.
|
String |
getUsage()
A Unix-style usage message
|
Object doOperation(MangoContext context, String... args)
context
- an application contextargs
- the command-line argumentsString getCommandLineName()
String getUsage()