A script that allows a user to use arrow keys to select an item from a list. Sometimes using select can be a bit clunky because the user doesn't get any visual feedback about what they're selecting unless a confirmation message is displayed (which adds more overhead).
Typical (you have the script locally)
source ./get-choice.shRemote (you want the functionality, but don't want to clone or copy anything)
source <(wget -qO- https://raw.githubusercontent.com/the0neWhoKnocks/shell-menu-select/master/get-choice.sh)All flags and an example are demonstrated via the --help command.
source ./get-choice.sh
getChoice -h