runCommand -package:structured-cli -package:github-release -package:shake -package:graphviz is:exact -package:options package:xmonad-contrib

Given a list of command/action pairs, prompt the user to choose a command using dmenu and return the corresponding action.