runCommand -package:wai-app-static -package:libmpd -package:graphviz -package:beam-migrate -package:cabal-install -package:structured-cli package:xmonad-contrib is:exact

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