- java.lang.Object
-
- org.jline.builtins.InteractiveCommandGroup
-
- All Implemented Interfaces:
org.jline.shell.CommandGroup
public class InteractiveCommandGroup extends java.lang.Object implements org.jline.shell.CommandGroupACommandGroupthat wraps interactive builtins (nano,less,tmux,ttop) as shellCommands.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
Constructors Constructor Description InteractiveCommandGroup()Creates a new InteractiveCommandGroup with all available interactive commands.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<org.jline.shell.Command>commands()java.lang.Stringname()
-