public interface BLauncherCmd
BLauncherCmd
represents a Ballerina launcher command.Modifier and Type | Method and Description |
---|---|
void |
execute()
Execute the command.
|
static String |
getCommandUsageInfo(String commandName)
Retrieve command usage info.
|
String |
getName()
Retrieve the command name.
|
void |
printLongDesc(StringBuilder out)
Print the detailed description of the command.
|
void |
printUsage(StringBuilder out)
Print usgae info for the command.
|
void |
setParentCmdParser(picocli.CommandLine parentCmdParser)
Set the parent
CommandLine object to which commands are added as sub commands. |
void |
setSelfCmdParser(picocli.CommandLine selfCmdParser)
Set the
CommandLine object representing this command. |
void execute()
String getName()
void printLongDesc(StringBuilder out)
out
- a StringBuilder
instancevoid printUsage(StringBuilder out)
out
- a StringBuilder
instancevoid setParentCmdParser(picocli.CommandLine parentCmdParser)
CommandLine
object to which commands are added as sub commands.parentCmdParser
- the parent CommandLine
objectvoid setSelfCmdParser(picocli.CommandLine selfCmdParser)
CommandLine
object representing this command.selfCmdParser
- the CommandLine
object representing the commandCopyright © 2018 WSO2. All rights reserved.