opencode-session Verified for current stable LTS

Opencode Session Command: List Last N Sessions In Format

Use for list last n sessions in format with Opencode Session. Exact CLI syntax to list last n sessions in format using Opencode Session.

When to use this: Use for list last n sessions in format with Opencode Session.

Command Syntax

opencode session list -n <10> --format <table|json>

Command Breakdown

-n
Command Option
Tool-specific option used by this command invocation.
--format
Command Option
Tool-specific option used by this command invocation.

FAQ

Purpose: Exact syntax to list last n sessions in format using Opencode Session.

Test path: Replace placeholders and run destructive commands in a disposable workspace first.

Flag behavior: Tool version, platform, and shell can change behavior.

Improve This Command

Suggest a correction, safer default, or version-specific note for this entry.

Related Operations

Back to Opencode Session directory