runCommand -package:structured-cli -package:github-release -package:shake-plus -package:graphviz -package:xmonad-contrib -package:quickcheck-state-machine -package:cabal-install
Runs a command using the shell.
Run command against the database and return its result
, 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.
Run a command within the PlotM monad. Stderr stream is read
and decoded, while Stdout is ignored. Logging happens at the debug
level if the command succeeds, or at the error level if it does not
Run with the given middleware and parsing options from the command
runCommand1 foo = runCommand [foo =: 1]
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.
Default to True
. Should you run command line actions, set to
to skip actions whose output streams and exit code are
not used. Useful for profiling the non-command portion of the build