opencode-export Verified for current stable LTS

Opencode Export Command: Export Session To File

Use for export session to file with Opencode Export. Exact CLI syntax to export session to file using Opencode Export.

When to use this: Use for export session to file with Opencode Export.

Command Syntax

opencode export <session_id> > <path/to/session>.json

Command Breakdown

opencode is the base executable for this command.

FAQ

Purpose: Exact syntax to export session to file using Opencode Export.

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 Export directory