java.lang.Object
org.jline.builtins.InteractiveCommandGroup
- All Implemented Interfaces:
org.jline.shell.CommandGroup
A
CommandGroup that wraps interactive builtins (nano, less,
tmux, ttop) as shell Commands.
These commands require a terminal and are typically used in interactive sessions.
Example:
dispatcher.addGroup(new InteractiveCommandGroup());
dispatcher.execute("nano file.txt");
- Since:
- 4.0
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new InteractiveCommandGroup with all available interactive commands. -
Method Summary
Methods 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
-
InteractiveCommandGroup
public InteractiveCommandGroup()Creates a new InteractiveCommandGroup with all available interactive commands.
-
-
Method Details
-
name
- Specified by:
namein interfaceorg.jline.shell.CommandGroup
-
commands
- Specified by:
commandsin interfaceorg.jline.shell.CommandGroup
-