mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-11-02 05:02:12 +08:00
17 lines
304 B
Markdown
17 lines
304 B
Markdown
# opencode import
|
|
|
|
> Import session data from a JSON file or URL.
|
|
> More information: <https://opencode.ai/docs/cli#import>.
|
|
|
|
- Import from a JSON file:
|
|
|
|
`opencode import {{path/to/session}}.json`
|
|
|
|
- Import from a share URL:
|
|
|
|
`opencode import {{URL}}`
|
|
|
|
- Display help:
|
|
|
|
`opencode import {{[-h|--help]}}`
|