diff options
| author | Jay V <[email protected]> | 2025-08-18 13:30:58 -0400 |
|---|---|---|
| committer | Jay V <[email protected]> | 2025-08-18 13:31:01 -0400 |
| commit | 61580e6dce984a04add2c4e120bd20a9c33b15ca (patch) | |
| tree | 9b214759f7c8e78cedbf6c582639cc4b897a1a9c | |
| parent | 2dea8f0f6bc358fd317478030a8dd880e96a8a87 (diff) | |
| download | opencode-61580e6dce984a04add2c4e120bd20a9c33b15ca.tar.gz opencode-61580e6dce984a04add2c4e120bd20a9c33b15ca.zip | |
docs: edits
| -rw-r--r-- | packages/web/src/content/docs/docs/cli.mdx | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/packages/web/src/content/docs/docs/cli.mdx b/packages/web/src/content/docs/docs/cli.mdx index ccf3f0af4..65d96769a 100644 --- a/packages/web/src/content/docs/docs/cli.mdx +++ b/packages/web/src/content/docs/docs/cli.mdx @@ -5,12 +5,20 @@ description: opencode CLI options and commands. import { Tabs, TabItem } from "@astrojs/starlight/components" -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. + +```bash +opencode +``` + +But it also accepts commands as documented on this page. This allows you to interact with opencode programmatically. ```bash opencode run "Explain how closures work in JavaScript" ``` + + --- ## Commands |
