Skip to content

Commit 96d1cfb

Browse files
docs-botgithub-actions[bot]guntrip
authored
docs: update copilot-cli content from source docs (#63318)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Felix Guntrip <guntrip@github.com>
1 parent b6ee079 commit 96d1cfb

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎content/copilot/reference/copilot-cli-reference/cli-command-reference.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ The footer shows an "N scheduled" indicator by default whenever the session has
531531

532532
| Option | Purpose |
533533
|------------------------------------|------------------------------------------|
534-
| `--add-dir=PATH` | Allow file access to a directory and load its `.github/skills` and `.github/agents` as trusted configurations (can be used multiple times). A relative path resolves against the session working directory (the `--resume`, `--worktree`, or `-C` directory), regardless of option order. |
534+
| `--add-dir=PATH` | Allow file access to a directory and load its `.github/skills` and `.github/agents` as trusted configurations (can be used multiple times). A relative path resolves against the session working directory (the `--resume`, `--worktree`, or `-C` directory), regardless of option order. The path must be an existing directory—a missing path or a regular file fails startup immediately with a flag-specific error, the same way in every mode. |
535535
| `--add-github-mcp-tool=TOOL` | Add a tool to enable for the {% data variables.product.github %} MCP server, instead of the default CLI subset (can be used multiple times). Use `*` for all tools. |
536536
| `--add-github-mcp-toolset=TOOLSET` | Add a toolset to enable for the {% data variables.product.github %} MCP server, instead of the default CLI subset (can be used multiple times). Use `all` for all toolsets. |
537537
| `--additional-mcp-config=JSON` | Add an MCP server for this session only. The server configuration can be supplied as a JSON string or a file path (prefix with `@`). A relative `@file` path resolves against the session working directory (the `--resume`, `--worktree`, or `-C` directory), regardless of option order. Augments the configuration from `~/.copilot/mcp-config.json`. Overrides any installed MCP server configuration with the same name. See [AUTOTITLE](/copilot/how-tos/copilot-cli/customize-copilot/add-mcp-servers). |
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ceff936d1ade82fd8a7f162f19152228496b892d
1+
9f0895c41d269a48bde50fcd5634e72ff4815ce1

0 commit comments

Comments
 (0)