mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-03 04:54:59 +00:00
Update cheatsheets
This commit is contained in:
25
tldr/opencode-session
Normal file
25
tldr/opencode-session
Normal 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]}}`
|
||||
Reference in New Issue
Block a user