Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save josephsamela/6f2f2efe62c10b897af115c466005843 to your computer and use it in GitHub Desktop.
Save josephsamela/6f2f2efe62c10b897af115c466005843 to your computer and use it in GitHub Desktop.
declare -a ACTIONS=(
"createIncomingHook"
"getIncomingHooks"
"deleteIncomingHook"
"updateIncomingHook"
"createOutgoingHook"
"getOutgoingHooks"
"deleteOutgoingHook"
"updateOutgoingHook"
"getCommands"
"getAutocompleteCommands"
"getCustomTeamCommands"
"addCommand"
"editCommand"
"regenCommandToken"
"deleteCommand"
"addOAuthApp"
"getOAuthApps"
"getOAuthApp"
"deleteOAuthApp"
"updateOAuthApp"
"executeCommand"
"submitInteractiveDialog"
)
for ACTION in ${ACTIONS[@]}
do
clear
echo $ACTION
grep -rnw mattermost-webapp/ -e $ACTION
grep -rnw mattermost-mobile/ -e $ACTION
read -n1 -r -p "Press space to continue..." key
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment