Command execution
Run terminal commands as an action input — CLI tools, scripts, curl, df, ps,
package managers, and so on. Parse the output into structured data with parse.
actions:
- name: DiskFree
command:
run: df -h
parse:
data_type: text
split_whitespace: true
Use parse / parse_stderr to turn stdout/stderr into JSON, CSV, or XML — by
delimiter, whitespace, line range, keys, or regex matches.
CommandRun
| Field | Type | Description |
|---|---|---|
timeout | string (nullable) | |
name | string (nullable) | |
shell | string (nullable) | |
run | string | Required. |
parse | CommandParse (nullable) | |
parse_stderr | CommandParse (nullable) |
CommandParse
| Field | Type | Description |
|---|---|---|
data_type | DataType (nullable) | |
disable_auto_extract | boolean (nullable) | |
delimiter | string (nullable) | |
split_start | string (nullable) | |
split_end | string (nullable) | |
line_start | number (nullable) | |
line_end | number (nullable) | |
keys | Array<string> (nullable) | |
split_by | string (nullable) | |
split_whitespace | boolean (nullable) | |
matches | Array<CommandRegex> (nullable) | |
ignore_output | boolean (nullable) |
CommandRegex
| Field | Type | Description |
|---|---|---|
keys | Array<string> | Required. |
regex | string (nullable) | |
split_by | string (nullable) | |
split_whitespace | boolean (nullable) |