Created
September 5, 2017 09:33
-
-
Save dellow/9a0c1b973f268ee9cb2a5e5ca3b18b0a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
functionName() { | |
} | |
PS3='Please select an option: ' | |
options=("Reset database and keys (clean install)" "Reinstall all composer dependencies" "Both" "Quit") | |
select opt in "${options[@]}" | |
do | |
case $opt in | |
"Reset database and keys (clean install)") | |
functionName | |
break | |
;; | |
"Reinstall all composer dependencies") | |
functionName | |
break | |
;; | |
"Both") | |
functionName | |
break | |
;; | |
"Quit") | |
break | |
;; | |
*) echo invalid option;; | |
esac | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment