Skip to content

Instantly share code, notes, and snippets.

@dellow
Created September 5, 2017 09:33
Show Gist options
  • Save dellow/9a0c1b973f268ee9cb2a5e5ca3b18b0a to your computer and use it in GitHub Desktop.
Save dellow/9a0c1b973f268ee9cb2a5e5ca3b18b0a to your computer and use it in GitHub Desktop.
#!/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