Interface: CommandStepInput
Input for the CommandStepMachine.
These arguments are passed to Node's spawn function.
Properties
args?
optionalargs:string[]
List of arguments to pass to the command.
command
command:
string
The command to run, such as npm or chmod.
errorPrompt?
optionalerrorPrompt:string
The message to show to the agent if the command fails.
ignoreError?
optionalignoreError:boolean
promptOnError?
optionalpromptOnError:string
The environment variables to set for the command.
Deprecated
Use errorPrompt instead.