A simple bash script that will generate menus.
Parameter 1: "options" to use [1] or "instructions" for 1.
Parameter 2: Title for the menu
Parameter 3: Array of options or instructions to show
e.g. generateDialog "options" "Choose an option" "${options[@]}"
- symbol - Which character to be used to create the menu
- paddingSymbol - Character to space and center the text
- lineLength - How wide the menu should be
- charsToOption - How much padding you want from the sides of the menu
- charsToName - How much padding you want around the text