- java.lang.Object
-
- org.jline.shell.impl.SimpleCommandGroup
-
- org.jline.shell.impl.OptionCommands
-
- All Implemented Interfaces:
CommandGroup
public class OptionCommands extends SimpleCommandGroup
Built-in option management commands:setopt,unsetopt, andsetvar.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
Constructors Constructor Description OptionCommands(org.jline.reader.LineReader reader)Creates option commands for the given line reader.
-
Method Summary
-
Methods inherited from class org.jline.shell.impl.SimpleCommandGroup
commands, name
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jline.shell.CommandGroup
command, hasCommand
-
-