commons/functions/get_input_selection library
Functions
-
getInputSelection<
T> ({required List< T> options, required String getOptionText(T option), String prompt = "Select an option:"}) → T - Asks the user for a selection in a menu and returns the selected option.