Introduction I needed a re-usable bash function to simple take two parameters; pretty text & array name and return the prompted value in that array.
Introduction I needed a framework which I could just paste in front of scripts which require parameters. The script will check if requirements are met and ask for parameters which were not provided.
Introduction I came across this problem as I run a webserver from my home behind a normal internet line without a fixed WAN IP address. There are some other ways of solving this issue, but that’s out of this article’s scope.