← 返回命令列表

Linux command

opencode-import 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Import

opencode import [path/to/session.json]

说明

opencode import imports session data into OpenCode from a JSON file previously created with opencode export. This allows restoring or sharing conversation sessions between different OpenCode installations or users.

FAQ

What is the opencode-import command used for?

opencode import imports session data into OpenCode from a JSON file previously created with opencode export. This allows restoring or sharing conversation sessions between different OpenCode installations or users.

How do I run a basic opencode-import example?

Run `opencode import [path/to/session.json]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.