@inquir/compute-cliv0.4.1 · Node.js 22+
Usage#
inquir apps logsbash
inquir apps logs <app|release|build> [options]
Options#
| Option | Description |
|---|---|
--tail <n> | Initial container log lines; defaults to 200, at most 2000. Does not limit build logs. |
--no-follow | Print the last lines and exit instead of following (for scripts and agents). |
--replica <name|index> | Only the lines of one replica; see apps instances. |
--json | Send log lines to stderr so stdout stays available for machine-readable output. |
Global flags, environments and CLI credentials ↗
Examples#
Example 1bash
inquir apps logs web --tail 100
Example 2bash
inquir apps logs web --tail 50 --no-follow
Example 3bash
inquir apps logs BUILD_ID
Behavior#
Press Ctrl+C to stop following, or pass --no-follow. Supplying a build ID selects build logs, not container output. apps logs <app> --history reads persisted history, like apps log-history.