Skip to content

Commit 8a360e1

Browse files
authored
docs(cli): document the opencode debug subcommands (anomalyco#57861)
Co-authored-by: oke3 <oke3@users.noreply.github.com>
1 parent d75c6b9 commit 8a360e1

1 file changed

Lines changed: 36 additions & 0 deletions

File tree

  • packages/web/src/content/docs

‎packages/web/src/content/docs/cli.mdx‎

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -608,6 +608,42 @@ opencode debug [command]
608608

609609
---
610610

611+
#### agents
612+
613+
List all agents.
614+
615+
```bash
616+
opencode debug agents
617+
```
618+
619+
---
620+
621+
#### config
622+
623+
List configuration sources.
624+
625+
```bash
626+
opencode debug config
627+
```
628+
629+
---
630+
631+
#### paths
632+
633+
Show global paths (data, config, cache, state).
634+
635+
```bash
636+
opencode debug paths
637+
```
638+
639+
Pass a name to print a single path: `db`, `home`, `data`, `config`, `cache`, `state`, `tmp`, `bin`, `log` or `repos`.
640+
641+
```bash
642+
opencode debug paths db
643+
```
644+
645+
---
646+
611647
### uninstall
612648

613649
Uninstall OpenCode and remove all related files.

0 commit comments

Comments
 (0)