Class PkgInstallSubCommand
java.lang.Object
net.datenwerke.rs.pkg.service.pkg.terminal.commands.PkgInstallSubCommand
- All Implemented Interfaces:
Hook,SubCommand,TerminalCommandHook
-
Constructor Summary
ConstructorsConstructorDescriptionPkgInstallSubCommand(<any> packageScriptHelper, FileServerService fileServerService) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAutoCompletEntries(AutocompleteHelper autocompleteHelper, TerminalSession session) booleanconsumes(CommandParser parser, TerminalSession session) execute(CommandParser parser, TerminalSession session)
-
Constructor Details
-
PkgInstallSubCommand
-
-
Method Details
-
consumes
- Specified by:
consumesin interfaceTerminalCommandHook
-
execute
@CliHelpMessage(messageClass=PkgMessages.class, name="install", description="pkg_sub_install_description", args=@Argument(flag="d",hasValue=false,valueName="local file system",description="commandPkg_sub_install_flagD",mandatory=false), nonOptArgs=@NonOptArgument(name="packageName",mandatory=true,description="commandPkg_sub_install_packageName")) public CommandResult execute(CommandParser parser, TerminalSession session) throws TerminalException - Specified by:
executein interfaceTerminalCommandHook- Throws:
TerminalException
-
addAutoCompletEntries
- Specified by:
addAutoCompletEntriesin interfaceTerminalCommandHook
-
getBaseCommand
- Specified by:
getBaseCommandin interfaceSubCommand
-