commands.sh

opencode session

all

Manage OpenCode sessions.

More info →

Options (2)

-n, --max-countboolean

List the last N sessions in a specific format

Example: opencode session list {{[-n|--max-count]}} {{10}} --format {{table|json}}
-h, --helpboolean

Display help

Example: opencode session {{[-h|--help]}}

Examples (4)

List sessions

List the last N sessions in a specific format

opencode session list [-n|--max-count] 10 --format table|json

Delete a specific session

opencode session delete session_id

Display help

opencode session [-h|--help]
made by @shridhargupta | data from tldr-pages