We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2dea8f0 commit 61580e6Copy full SHA for 61580e6
packages/web/src/content/docs/docs/cli.mdx
@@ -5,12 +5,20 @@ description: opencode CLI options and commands.
5
6
import { Tabs, TabItem } from "@astrojs/starlight/components"
7
8
-The opencode CLI accepts commands as documented on this page. You can run any of the available commands to interact with opencode programmatically.
+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.
15
16
```bash
17
opencode run "Explain how closures work in JavaScript"
18
```
19
20
21
22
---
23
24
## Commands
0 commit comments