Modifier and Type | Field and Description |
---|---|
private static org.jline.utils.AttributedStyle |
BOLD_RED |
private java.util.Collection<Command> |
commands |
private java.util.List<org.jline.utils.AttributedString> |
generalHelp |
private static java.lang.String |
HELP |
private static org.slf4j.Logger |
logger |
private org.jline.terminal.Terminal |
terminal |
private java.io.PrintWriter |
writer |
Constructor and Description |
---|
HelpCommand(org.jline.terminal.Terminal terminal,
org.springframework.context.ApplicationContext applicationContext) |
Modifier and Type | Method and Description |
---|---|
void |
execute(java.lang.Object obj) |
java.lang.String |
name()
Name of the command (for JavaScript side)
|
private void |
printCommandHelp(Command command) |
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
checkAndCast, checkAndCastDefault, checkAndCastNullable, getAndCast, getAndCastDefault, getAndCastNullable
private static final org.slf4j.Logger logger
private static final java.lang.String HELP
private static final org.jline.utils.AttributedStyle BOLD_RED
private final java.io.PrintWriter writer
private final java.util.Collection<Command> commands
private final java.util.List<org.jline.utils.AttributedString> generalHelp
private final org.jline.terminal.Terminal terminal
@Inject public HelpCommand(org.jline.terminal.Terminal terminal, org.springframework.context.ApplicationContext applicationContext)
public java.lang.String name()
Command
Name of the command (for JavaScript side)
public void execute(java.lang.Object obj)
private void printCommandHelp(Command command)
public java.lang.String toString()
toString
in class java.lang.Object