Skip to content

Commit 61580e6

Browse files
committed
docs: edits
1 parent 2dea8f0 commit 61580e6

File tree

1 file changed

+9
-1
lines changed
  • packages/web/src/content/docs/docs

1 file changed

+9
-1
lines changed

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,20 @@ description: opencode CLI options and commands.
55

66
import { Tabs, TabItem } from "@astrojs/starlight/components"
77

8-
The opencode CLI accepts commands as documented on this page. You can run any of the available commands to interact with opencode programmatically.
8+
The opencode CLI by default starts the [TUI](/docs/tui) when run without any arguments.
9+
10+
```bash
11+
opencode
12+
```
13+
14+
But it also accepts commands as documented on this page. This allows you to interact with opencode programmatically.
915

1016
```bash
1117
opencode run "Explain how closures work in JavaScript"
1218
```
1319

20+
21+
1422
---
1523

1624
## Commands

0 commit comments

Comments
 (0)