runCommand -package:structured-cli -package:github-release -package:io-streams is:exact -package:pandoc-plot -package:mongoDB -package:graphviz -package:process -package:cabal-install
, and attempt to parse it into a valid value of
type plus a list of left-over arguments. The options
and arguments are then passed to the provided computation.
If parsing fails, this computation will print an error and call
If parsing succeeds, and the user has passed a --help
and the developer is using the default help flag definitions, then
this computation will print documentation and call exitSuccess
for details on subcommand support.
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.