File code/lib/prompt.bash
Functions
-
prompt
: promptAnswerVar -
prompt_or_quit
: -
prompt_yes_or_no
: prompt for yes or no return 0 (true) if yes return 1 (false) if no
Do prompt_yes_or_no answer "Prompt Message?" || return to return when the answer is no
-
prompt_enter
: -
prompt_choose_from_array
: Choose an answer from a passed array -
prompt_choose_function
: prompt_choose convenience function that automatically calls the chosen function -
prompt_choose_branch
: