case ${1} in
"pkey") pkey ;;
"abserver") abserver ;;
"exitmenu") exitmenu ;;
"i3-binds") i3-binds ;;
esac
I have this code to call a function in a script based on $1 (passed as an argument to script). Is there a way to simply call the function in question via $1 and remove the need for case statement?