Module org.jline.console
Package org.jline.console
JLine Console package provides a framework for building interactive command-line applications.
This package contains classes and interfaces for:
- Command registration and execution
- Command argument parsing and description
- Command output formatting and printing
- Script execution and variable management
- System registry for command execution
Key components include:
CommandRegistry- Interface for registering and executing commandsConsoleEngine- Interface for managing console variables, commands, and script executionSystemRegistry- Interface for executing commands and managing the console environmentPrinter- Interface for printing objects to the console with various formatting optionsCmdDesc- Class for describing commands and their argumentsArgDesc- Class for describing command argumentsCmdLine- Class for representing a parsed command lineCommandInput- Class for encapsulating command input and output streams
The console package is designed to be used with the JLine reader package to create interactive command-line applications with features like command completion, command history, and command help.
-
Interface Summary Interface Description CommandRegistry Deprecated. ConsoleEngine Deprecated. Printer Interface for printing objects to the console with various formatting options.ScriptEngine Interface for managing script engine variables, statements, and script execution.SystemRegistry Deprecated. -
Class Summary Class Description ArgDesc Deprecated. CmdDesc Deprecated. CmdLine Deprecated. CommandInput Deprecated. CommandMethods Deprecated. CommandRegistry.CommandSession Class representing a command execution session.ConsoleEngine.ExecutionResult Class representing the result of executing a command.ConsoleEngine.WidgetCreator Class for creating widgets from console functions.SystemRegistry.Registeries Class for managing the system registry store. -
Enum Summary Enum Description CmdLine.DescriptionType Enumeration specifying the type of description that should be displayed for the command.Printer.TableRows Enumeration specifying which rows in a table should be highlighted.