Update cheatsheets

This commit is contained in:
ivuorinen
2026-03-01 00:30:22 +00:00
parent 3ae0930896
commit d8f280b652
20 changed files with 423 additions and 10 deletions

21
tldr/opencode-export Normal file
View File

@@ -0,0 +1,21 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# opencode export
> Export session data as JSON.
> More information: <https://opencode.ai/docs/cli#export>.
- Export a specific session to a file:
`opencode export {{session_id}} > {{path/to/session}}.json`
- Export a session interactively (output in `stdout`):
`opencode export`
- Display help:
`opencode export {{[-h|--help]}}`