runCommand -package:structured-cli -package:github-release -package:pandoc-plot -package:shake-plus -package:shake -package:graphviz -package:quickcheck-state-machine -package:hledger
Runs a command using the shell.
Given a list of command/action pairs, prompt the user to choose a
command using dmenu and return the corresponding action.
Run with the given middleware and parsing options from the command
line.
Since 2.0.1
runCommand1 foo = runCommand [foo =: 1]
Given the name of a command from
defaultCommands, return the
corresponding action (or the null action if the command is not found).
Given a list of command/action pairs, prompt the user to choose a
command using dmenu-compatible launcher and return the corresponding
action. See X.U.Dmenu for compatible launchers.
Called before a command is about to run. The first argument is the
step index and the second is a string representing the command about
to be run.