public class InstallCommand extends AbstractXBMCSubCommand
CLIManageAddons
command. It is used
to install xmbc addons. It takes the addons to install as arguments. It has the
following usage:
usage: mm-xbmc [--global-options] install [--command-options] ...
Command Options:
--help, -h Show the help
Constructor and Description |
---|
InstallCommand(ICLICommand rootCommand,
IExitHandler exitHandler,
java.io.PrintStream stdout,
java.io.PrintStream stderr)
The constructor
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getPrintArguments() |
protected boolean |
processOptions(java.lang.String[] args,
org.apache.commons.cli.CommandLine cmd) |
protected boolean |
run()
This is executed to make the tool perform its function and should be extended.
|
checkNoArgs, getConsole, getUpdater, init
getController, getDescription, printUsage, processOptionsInternal
addOption, checkSubCommand, displayHelp, doExit, fatal, fatal, getName, getOptions, getStderr, getStdout, handleBadSubCommandOption, info, launch, printOptions, shouldDisplayHelp, warn
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName
public InstallCommand(ICLICommand rootCommand, IExitHandler exitHandler, java.io.PrintStream stdout, java.io.PrintStream stderr)
rootCommand
- The root commandexitHandler
- The exit handlerstdout
- The output streamstderr
- The error streamprotected boolean run()
BaseLauncher
run
in class BaseLauncher
protected boolean processOptions(java.lang.String[] args, org.apache.commons.cli.CommandLine cmd)
processOptions
in class AbstractSubCLICommand
protected java.lang.String getPrintArguments()
getPrintArguments
in class AbstractSubCLICommand