One change
scripting
cli-sdks-libraries/cli/scripting
Nearest release: v2.1.239, published 2 hours before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
cli-sdks-libraries/cli/scripting Changed · +1 / -2 lines
from line 148
`--transform id --raw-output` on a list endpoint emits one bare ID per line, so standard tools such as `head` and `xargs` apply directly. Capture the first result, then pass it to a follow-up command: ```bash -FIRST_AGENT=$(ant beta:agents list \ - --transform id --raw-output | head -1) +FIRST_AGENT=$(ant beta:agents list --transform id --raw-output | head -1) ant beta:agents:versions list \ --agent-id "$FIRST_AGENT" \