From a24f7e94aeb2afa5ec684f45d06cbaa2deb898bb Mon Sep 17 00:00:00 2001 From: apoliakov Date: Wed, 1 Oct 2025 01:40:10 -0400 Subject: [PATCH] Doc for CMD utility --- docs/production/dbos-cloud/cloud-cli.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/production/dbos-cloud/cloud-cli.md b/docs/production/dbos-cloud/cloud-cli.md index 2f58b8147..b5f2000c0 100644 --- a/docs/production/dbos-cloud/cloud-cli.md +++ b/docs/production/dbos-cloud/cloud-cli.md @@ -284,6 +284,16 @@ Retrieve an application's logs. - `-l, --last `: How far back to query, in seconds from current time. Default is 3600 (one hour). --- +### `dbos-cloud app cmd` + +**Description:** +A debugging utility that lets you run a shell command on one of your app's executors. Prints the `stderr` and `stdout` output by the command. The command must finish in 10 seconds. Every command is also recorded, without its output, in the app logs at `WARN` level. Note that stopping the running `dbos` process destroys the executor and causes it to be replaced by a new one. + +**Arguments:** +- `-e, --executor-id `: The ID of the executor to use (see app logs). +- `-c, --command `: The shell command to run. +--- + ### `dbos-cloud app resource-usage` **Description:**