Validate command node type and handle multiple results with debug log

Agent-Logs-Url: https://github.com/mikefarah/yq/sessions/928aabc5-ad71-41d8-94ab-403942e3f92d

Co-authored-by: mikefarah <1151925+mikefarah@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-03-28 03:27:46 +00:00
committed by GitHub
co-authored by mikefarah
parent 5ea069a5ed
commit 53abbbaee9
3 changed files with 28 additions and 7 deletions
@@ -7,7 +7,7 @@ The `system` operator allows you to run an external command and use its output a
## Usage
```bash
yq --null-input --enable-system-operator '.field = system("command"; "arg1")'
yq --enable-system-operator --null-input '.field = system("command"; "arg1")'
```
The operator takes: