runCommand

Runs a command using the shell.
Run an external command on the specified DotRepr. Remember to use hSetBinaryMode on the Handle for the output function if necessary. If the command was unsuccessful, then a GraphvizException is thrown. For performance reasons, a temporary file is used to store the generated Dot code. As such, this is only suitable for local commands.
Run command against the database and return its result
Retrieve getArgs, and attempt to parse it into a valid value of an Options 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 exitFailure. If parsing succeeds, and the user has passed a --help flag, and the developer is using the default help flag definitions, then this computation will print documentation and call exitSuccess. See runSubcommand for details on subcommand support.
Given a list of command/action pairs, prompt the user to choose a command using dmenu and return the corresponding action.
Execute a Command.
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 succeed.
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.
Creates a value of RunCommandParameters with the minimum fields required to make a request. Use one of the following lenses to modify other fields as desired:
  • rcpRunCommandTargets - Currently, we support including only one RunCommandTarget block, which specifies either an array of InstanceIds or a tag.
Creates a value of RunCommandTarget with the minimum fields required to make a request. Use one of the following lenses to modify other fields as desired:
  • rctKey - Can be either tag: tag-key or InstanceIds .
  • rctValues - If Key is tag: tag-key , Values is a list of tag values. If Key is InstanceIds , Values is a list of Amazon EC2 instance IDs.
This parameter contains the criteria (either InstanceIds or a tag) used to specify which EC2 instances are to be sent the command. See: runCommandParameters smart constructor.
Information about the EC2 instances that are to be sent the command, specified as key-value pairs. Each RunCommandTarget block can include only one key, but this key may specify multiple values. See: runCommandTarget smart constructor.
Default to True. Should you run command line actions, set to False to skip actions whose output streams and exit code are not used. Useful for profiling the non-command portion of the build system.
Currently, we support including only one RunCommandTarget block, which specifies either an array of InstanceIds or a tag.
Parameters used when you are using the rule to invoke Amazon EC2 Run Command.
The parameters for a RUN_COMMAND task type. For information about specifying and updating task parameters, see RegisterTaskWithMaintenanceWindow and UpdateMaintenanceWindowTask . See: maintenanceWindowRunCommandParameters smart constructor.
Creates a value of MaintenanceWindowRunCommandParameters with the minimum fields required to make a request. Use one of the following lenses to modify other fields as desired:
The parameters for a RUN_COMMAND task type.