Package org.jline.shell.impl
Class OptionCommands
java.lang.Object
org.jline.shell.impl.SimpleCommandGroup
org.jline.shell.impl.OptionCommands
- All Implemented Interfaces:
CommandGroup
Built-in option management commands:
setopt, unsetopt, and setvar.
These commands control the LineReader's options and variables at runtime:
setopt OPTION— enable a LineReader optionsetopt— list all enabled optionsunsetopt OPTION— disable a LineReader optionsetvar NAME VALUE— set a LineReader variablesetvar— list all variables
- Since:
- 4.0
-
Constructor Summary
ConstructorsConstructorDescriptionOptionCommands(LineReader reader) Creates option commands for the given line reader. -
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
-
OptionCommands
Creates option commands for the given line reader.- Parameters:
reader- the line reader
-