瀏覽代碼

chore: generate

opencode-agent[bot] 3 月之前
父節點
當前提交
c480006554
共有 1 個文件被更改,包括 6 次插入6 次删除
  1. 6 6
      packages/web/src/content/docs/cli.mdx

+ 6 - 6
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`                                                                                                                                                                                              |
+| 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`, `lsp`, `skill`. Anything omitted is denied. Alias: `--tools` |
-| `--model`, `-m` | Model to use, in `provider/model` format                                                                                                                                                                                                 |
+| `--model`, `-m` | Model to use, in `provider/model` format                                                                                                                                                                                   |
 
 Passing all of `--path`, `--description`, `--mode`, and `--permissions` runs the command non-interactively.