@inquir/compute-cliv0.4.1 · Node.js 22+
Usage#
inquir apps execbash
inquir apps exec <app> [--replica <name|index>] [--timeout <ms>] -- <command>
Options#
| Option | Description |
|---|---|
--replica <name|index> | Run in this serving replica (see apps instances); default: the projected one. |
--timeout <ms> | Maximum command execution time in milliseconds. |
--json | Print machine-readable results. |
Global flags, environments and CLI credentials ↗
Examples#
Example 1bash
inquir apps exec web -- ls -la /app
Example 2bash
inquir apps exec web --timeout 10000 -- node --version
Behavior#
The identifier is an application, not a preview or release ID. This is command execution, not an interactive terminal.
Keep CLI flags before --; everything after it belongs to the container command.