Skip to main content

Module interactive

Module interactive 

Source
Expand description

Interactive prompting helpers shared across commands.

Each helper bridges flag-driven and interactive input: in interactive mode it prompts the operator, and in non-interactive mode it falls back to a default or fails with a “flag required” error. Used to resolve missing arguments, confirmations, and selections uniformly.

Functions§

confirm_optional
prompt_input
prompt_input_with_default
require_confirmation
require_confirmation_default_yes
resolve_required
select_from_list
select_index