summaryrefslogtreecommitdiffhomepage
path: root/packages/web/src/content/docs/cli.mdx
diff options
context:
space:
mode:
authoropencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>2026-04-27 05:18:33 +0000
committeropencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>2026-04-27 05:18:33 +0000
commit17701628bd4370067a1e2613043a9da14f8e302f (patch)
treeea3b800db8b4d0429d5b38c25bf58a9b0c620450 /packages/web/src/content/docs/cli.mdx
parent0efc6163f1d58a529db327b94bea2ceab55e729b (diff)
downloadopencode-17701628bd4370067a1e2613043a9da14f8e302f.tar.gz
opencode-17701628bd4370067a1e2613043a9da14f8e302f.zip
chore: generate
Diffstat (limited to 'packages/web/src/content/docs/cli.mdx')
-rw-r--r--packages/web/src/content/docs/cli.mdx14
1 files changed, 7 insertions, 7 deletions
diff --git a/packages/web/src/content/docs/cli.mdx b/packages/web/src/content/docs/cli.mdx
index 2fad7c2b6..0df6b376e 100644
--- a/packages/web/src/content/docs/cli.mdx
+++ b/packages/web/src/content/docs/cli.mdx
@@ -97,13 +97,13 @@ This command will guide you through creating a new agent with a custom system pr
#### Flags
-| Flag | Description |
-| ---------------- | ---------------------------------------------------------------------------------------------------------- |
-| `--path` | Directory to write the agent file to (defaults to global or `.opencode/agent` based on the prompt) |
-| `--description` | What the agent should do |
-| `--mode` | Agent mode: `all`, `primary`, or `subagent` |
-| `--permissions` | Comma-separated list of permissions to allow (default: all). Available: `bash`, `read`, `edit`, `glob`, `grep`, `webfetch`, `task`, `todowrite`, `websearch`, `codesearch`, `lsp`, `skill`. Anything omitted is denied. Alias: `--tools` |
-| `--model`, `-m` | Model to use, in `provider/model` format |
+| Flag | Description |
+| --------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| `--path` | Directory to write the agent file to (defaults to global or `.opencode/agent` based on the prompt) |
+| `--description` | What the agent should do |
+| `--mode` | Agent mode: `all`, `primary`, or `subagent` |
+| `--permissions` | Comma-separated list of permissions to allow (default: all). Available: `bash`, `read`, `edit`, `glob`, `grep`, `webfetch`, `task`, `todowrite`, `websearch`, `codesearch`, `lsp`, `skill`. Anything omitted is denied. Alias: `--tools` |
+| `--model`, `-m` | Model to use, in `provider/model` format |
Passing all of `--path`, `--description`, `--mode`, and `--permissions` runs the command non-interactively.