CLI reference / sandbox / logs

stado sandbox logs

Invocation

stado sandbox logs [OPTIONS] --stream <STREAM> --encoding <ENCODING> <ID> <COMMAND>

Purpose

Print a command's stored output from an offset; also while the sandbox is stopped

Required inputs and options

Input or optionContract
<ID>The sandbox id Boat answered at create, fork or list
<COMMAND>The command id the history printed
--stream <STREAM>The output to read [possible values: stdout, stderr]
--encoding <ENCODING>How Boat answers the bytes [possible values: utf8, base64]
--offset <OFFSET>The byte to start at, as a previous read printed it in nextOffset; without it the read starts where Boat starts it

Output and state effect

This is an inspection/reporting operation. It emits the result described above and does not change managed state unless an explicit option in this page says otherwise. Pass `--json` when the command exposes that machine-readable option.

Refusals

  • Before dispatch, Stado refuses a missing required token shown in the invocation, an unknown option, or a value outside a listed value set; argument-usage failures exit with code 2.