Skip to main content Link Menu Expand (external link) Document Search Copy Copied
Table of contents

runShell

Description

Perform a native shell command.

Fields

Field Type Description Default
id string Optional. ID of the step. Generated UUID
description string Optional. Description of the step.  
action string Required. The action to perform.  
command string Required. Command to perform in the machine’s default shell.  
args array of strings Optional. Arguments for the command. []

Examples

{
  "action": "runShell",
  "command": "echo",
  "args": [
    "$USER"
  ]
}
{
  "action": "runShell",
  "command": "echo",
  "args": [
    "hello-world"
  ],
  "id": "ddec5e20-2e81-4f38-867c-92c8d9516755",
  "description": "This is a test!"
}