Explorar o código

docs: document --dangerously-skip-permissions CLI flag (#23371)

Ariane Emory hai 4 meses
pai
achega
f14ac472a3
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      packages/web/src/content/docs/cli.mdx

+ 1 - 0
packages/web/src/content/docs/cli.mdx

@@ -349,6 +349,7 @@ opencode run --attach http://localhost:4096 "Explain async/await in JavaScript"
 | `--title`    |       | Title for the session (uses truncated prompt if no value provided)      |
 | `--attach`   |       | Attach to a running opencode server (e.g., http://localhost:4096)       |
 | `--port`     |       | Port for the local server (defaults to random port)                     |
+| `--dangerously-skip-permissions` | | Auto-approve permissions that are not explicitly denied (dangerous!) |
 
 ---