bdy target exec command
$bdy target exec command|cmd [options] <identifier> [command]
Execute a command on a target
Examples
Run a command on a target and print its outputbdy tg exec command target-identifier "ls -la"$
Run SQL on a MySQL targetbdy tg exec command target-identifier "SELECT 1"$
Start a command in background and return the execution idbdy tg exec command target-identifier "ls -la" --async$
Run a command from a filebdy tg exec command target-identifier --file ./query.sql$
Print the result with execution metadata as JSONbdy tg exec command target-identifier "SELECT 1" --format json$