Package 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.
-
ClassDescriptionDeprecated.Deprecated.Deprecated.Enumeration specifying the type of description that should be displayed for the command.Deprecated.Deprecated.Deprecated.Class representing a command execution session.Deprecated.Class representing the result of executing a command.Class for creating widgets from console functions.Interface for printing objects to the console with various formatting options.Enumeration specifying which rows in a table should be highlighted.Interface for managing script engine variables, statements, and script execution.Deprecated.Class for managing the system registry store.