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

25
tldr/opencode-session Normal file
View File

@@ -0,0 +1,25 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# opencode session
> Manage OpenCode sessions.
> More information: <https://opencode.ai/docs/cli#session>.
- List sessions:
`opencode session list`
- List the last N sessions in a specific format:
`opencode session list {{[-n|--max-count]}} {{10}} --format {{table|json}}`
- Delete a specific session:
`opencode session delete {{session_id}}`
- Display help:
`opencode session {{[-h|--help]}}`