Module org.jline.prompt
module org.jline.prompt
JLine Prompt Module.
This module provides a modern, interface-based API for creating interactive console prompts. It is inspired by Inquirer.js and provides a clean, type-safe way to build console applications that need to collect user input through various prompt types.
The prompt module supports various prompt types including:
- Text input with completion and validation
- Password input with masking
- Single and multiple selection lists
- Checkbox prompts for multiple selections
- Choice prompts with keyboard shortcuts
- Confirmation prompts (Yes/No)
- Number input with validation
- Search prompts with filtering
- Editor prompts for multi-line text
This module replaces the deprecated jline-console-ui module and provides
a more modern, interface-based API with better type safety and documentation.
-
Packages
ExportsPackageDescriptionJLine Prompt API - Interactive Console Prompts for Java Applications.