Skip to main content
Version: current

run-script


cmr/device/run-script​

Package: cmr
Type: Command

Runs a script on the selected devices.

ArgumentTypeDescription
scriptalt { script: string }The script to run on the selected devices.
labels ( unset )objectSelect the devices to run the script on using labels. Supports + and - signs as AND and AND NOT operators, respectively; if no sign is provided, the OR operator is used.
orderobjectExecution order (by labels).
strategy ( unset )enum ()How devices are processed: parallel or sequential.
fail-policy ( unset )enum ()Behaviour if a device fails: continue, stop, or continue-order.
timeout ( unset )timeScript execution timeout.
Read-only ArgumentTypeDescription
deviceenumDevice the script is running on.
statusstringExecution status.
outputstringScript output.