I have developed a useful set of more than 70 bash functions including:

GET_ARGS: Define, parse and test for parent script options with built-in help.

ASK: Ask for and get a response from a set of choices.

TMP_FILE_... Manage temp files and directories

etc, etc, etc.