Package org.jline.shell.impl
Class HelpCommands
java.lang.Object
org.jline.shell.impl.SimpleCommandGroup
org.jline.shell.impl.HelpCommands
- All Implemented Interfaces:
CommandGroup
Built-in help command group.
Provides the help command:
help— list all commands grouped byCommandGroupnamehelp <command>— show detailed help for a specific command
- Since:
- 4.0
-
Constructor Summary
ConstructorsConstructorDescriptionHelpCommands(CommandDispatcher dispatcher) Creates help commands using the given dispatcher for command discovery. -
Method Summary
Methods inherited from class org.jline.shell.impl.SimpleCommandGroup
commands, nameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jline.shell.CommandGroup
command, hasCommand
-
Constructor Details
-
HelpCommands
Creates help commands using the given dispatcher for command discovery.- Parameters:
dispatcher- the command dispatcher
-