Files
cheatsheet-tldr/tldr/opencode-import
2026-03-01 00:30:22 +00:00

22 lines
397 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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]}}`