org.sonatype.gshell.commands.standard
Class HelpCommand
java.lang.Object
org.sonatype.gshell.command.support.CommandActionSupport
org.sonatype.gshell.commands.standard.HelpCommand
- All Implemented Interfaces:
- Cloneable, CommandAction, NameAware
@Command(name="help")
public class HelpCommand
- extends CommandActionSupport
Display help pages.
- Since:
- 2.5
- Author:
- Jason Dillon
HelpCommand
@Inject
public HelpCommand(HelpPageManager helpPages)
installCompleters
@Inject
public HelpCommand installCompleters(jline.console.completer.Completer c1,
jline.console.completer.Completer c2,
jline.console.completer.Completer c3)
execute
public Object execute(CommandContext context)
throws Exception
- Description copied from interface:
CommandAction
- Execute the command action.
- Parameters:
context - The execution context of the command.
- Returns:
- The result of the command execution.
- Throws:
Exception - Command execution failed.
Copyright © 2008-2011 Sonatype. All Rights Reserved.