utils/user_prompt library
Unified prompt utilities for CLI interactions
This library provides a comprehensive set of interactive terminal prompts
using the interact package. Each category is in its own file for modularity.
Classes
- ConfirmPrompt
- Confirmation prompts (yes/no questions)
- DisplayPrompt
- Display utilities (banners, boxes, lists, dividers)
- InputPrompt
- Text input prompts (strings, numbers, validation)
- OracularProgressState
- Progress state wrapper for tracking progress
- PasswordPrompt
- Password/secret input prompts (hidden input)
- ProgressPrompt
- Progress bar prompts
- RetryPrompt
- Retry/error handling prompts
- SelectPrompt
- Selection prompts (menus, multi-select)
- SortPrompt
- Sorting/ordering prompts
- SpinnerPrompt
- Spinner/loading prompts
- UserPrompt
- Unified API for all prompt utilities
- WizardPrompt
- Step-by-step wizard prompts
- WizardStep
- Wizard step definition
Enums
- RetryChoice
- Retry choice enum