Skip to main content

list

whzbox list reads cached sandboxes from the local state file.

Syntax

whzbox list

Arguments

This command takes no positional arguments.

Flags

FlagTypeDefaultDescription
--jsonbooleanfalseEmits a JSON array instead of the styled table.

Behavior

  • Reads only the local sandbox cache.
  • Does not refresh tokens.
  • Does not prompt for credentials.
  • Includes expired cached sandboxes and marks them as expired in styled output.

Output

  • Styled output: a table with KIND, ACCOUNT, STATUS, and EXPIRES
  • JSON output: an array of sandbox objects. See JSON output schemas.

Exit behavior

  • 0 on success
  • 1 on local state-file errors

See also