Skip to main content

Module prompts

Module prompts 

Source
Expand description

Interactive prompt utilities

Provides centralized prompt handling with automatic non-interactive mode support. All prompts check for non-interactive mode and return appropriate errors.

Functionsยง

confirm
Prompt for confirmation (yes/no)
confirm_destructive
Prompt for confirmation with a required affirmative answer
input
Prompt for text input with validation
input_validated
Prompt for text input with custom validation
multi_select
Prompt for multiple selections
select
Prompt for selection from a list of options
select_with_default
Prompt for selection with a default index