docs(cli): document the opencode debug subcommands (#57861)

Co-authored-by: oke3 <oke3@users.noreply.github.com>
This commit is contained in:
0 2026-10-21 20:30:43 +03:00 • committed by GitHub
parent d75c6b9026
commit 8a360e103e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -608,6 +608,42 @@ opencode debug [command]
---
#### agents
List all agents.
```bash
opencode debug agents
```
---
#### config
List configuration sources.
```bash
opencode debug config
```
---
#### paths
Show global paths (data, config, cache, state).
```bash
opencode debug paths
```
Pass a name to print a single path: `db`, `home`, `data`, `config`, `cache`, `state`, `tmp`, `bin`, `log` or `repos`.
```bash
opencode debug paths db
```
---
### uninstall
Uninstall OpenCode and remove all related files.