summaryrefslogtreecommitdiff
path: root/docs/cli/commands.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/cli/commands.md')
-rw-r--r--docs/cli/commands.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/cli/commands.md b/docs/cli/commands.md
index a47f643e..0da4802a 100644
--- a/docs/cli/commands.md
+++ b/docs/cli/commands.md
@@ -43,7 +43,7 @@ Slash commands provide meta-level control over the CLI itself. They can typicall
## At Commands (`@`)
-At commands are used to quickly include the content of files or directories as part of your prompt to Gemini.
+At commands are used to quickly include the content of files or directories as part of your prompt to Gemini. These commands now feature git-aware filtering.
- **`@<path_to_file_or_directory>`**
@@ -58,6 +58,7 @@ At commands are used to quickly include the content of files or directories as p
- Spaces in paths should be escaped with a backslash (e.g., `@My\ Documents/file.txt`).
- The command uses the `read_many_files` tool internally. The content is fetched and then prepended or inserted into your query before being sent to the Gemini model.
- The text before and after the `@<path>` part of your query is preserved and sent along with the file content.
+ - **Git-Aware Filtering:** By default, git-ignored files (like `node_modules/`, `dist/`, `.env`, `.git/`) are automatically excluded. This behavior can be configured via the `fileFiltering` settings.
- **File Types:** The command is intended for text-based files. While it might attempt to read any file, binary files or very large files might be skipped or truncated by the underlying `read_many_files` tool to ensure performance and relevance. The tool will typically indicate if files were skipped.
- **Output:** The CLI will show a tool call message indicating that `read_many_files` was used, along with an improved display message detailing the status (e.g., number of files read, total size) and the path(s) that were processed.