summaryrefslogtreecommitdiff
path: root/docs/cli
AgeCommit message (Collapse)Author
2025-06-12Code Assist cleanup and docs (#993)Tommaso Sciortino
2025-06-12GitHub MCP warning (#979)Eddie Santos
2025-06-11feat: External editor settings (#882)Leo
2025-06-11add excludeTools flag to settings.json config (#957)JingboWang1997-1
2025-06-10restricted networking for all sandboxing methods, new seatbelt profiles, ↵Olcan
updated docs, fixes to sandbox build, debugging through sandbox (#891)
2025-06-09rename shell tool more intuitively as run_shell_command (from historical ↵Olcan
name of execute_bash_command inherited from terminal tool) (#869)
2025-06-08Revert "Add batch editing capabilities to Edit Tool (#648)" (#857)N. Taylor Mullen
2025-06-07Bryanmorgan/add mcp description support (#825)Bryan Morgan
2025-06-07docs: update and reorganize documentation (#806)cperry-goog
2025-06-06Add batch editing capabilities to Edit Tool (#648)Keith Ballinger
Co-authored-by: N. Taylor Mullen <[email protected]>
2025-06-06docs: Initialize tutorials section with MCP server examplejerop
This commit adds a new `tutorials.md` file to the CLI documentation. This section is intended to house various tutorials for using Gemini CLI. The initial content includes a tutorial on setting up Model Context Protocol (MCP) servers, using the GitHub MCP server as an example. The `docs/cli/index.md` has been updated to include a link to this new tutorials section.
2025-06-06feat: Enable environment variable substitution in settingsjerop
This commit introduces the ability to use system environment variables within the settings files (e.g., `settings.json`). Users can now reference environment variables using the `${VAR_NAME}` syntax. This enhancement improves security and flexibility, particularly for configurations like MCP server settings, which often require sensitive tokens. Previously, to configure an MCP server, a token might be directly embedded: ```json "mcpServers": { "github": { "env": { "GITHUB_PERSONAL_ACCESS_TOKEN": "pat_abc123" } // ... } } ``` With this change, the same configuration can securely reference an environment variable: ```json "mcpServers": { "github": { "env": { "GITHUB_PERSONAL_ACCESS_TOKEN": "${GITHUB_PERSONAL_ACCESS_TOKEN}" } // ... } } ``` This allows users to avoid storing secrets directly in configuration files.
2025-06-05fix: Disable automatic image building if BUILD_SANDBOX is not provided (#764)Tolik Malibroda
2025-06-05feat: Add multi-stage docker build support for custom sandbox.Dockerfile (#746)Tolik Malibroda
2025-06-05Add Theme docs (#753)Miguel Solorio
2025-06-04Ignore folders files (#651)Keith Ballinger
# Add .gitignore-Aware File Filtering to gemini-cli This pull request introduces .gitignore-based file filtering to the gemini-cli, ensuring that git-ignored files are automatically excluded from file-related operations and suggestions throughout the CLI. The update enhances usability, reduces noise from build artifacts and dependencies, and provides new configuration options for fine-tuning file discovery. Key Improvements .gitignore File Filtering All @ (at) commands, file completions, and core discovery tools now honor .gitignore patterns by default. Git-ignored files (such as node_modules/, dist/, .env, and .git) are excluded from results unless explicitly overridden. The behavior can be customized via a new fileFiltering section in settings.json, including options for: Turning .gitignore respect on/off. Adding custom ignore patterns. Allowing or excluding build artifacts. Configuration & Documentation Updates settings.json schema extended with fileFiltering options. Documentation updated to explain new filtering controls and usage patterns. Testing New and updated integration/unit tests for file filtering logic, configuration merging, and edge cases. Test coverage ensures .gitignore filtering works as intended across different workflows. Internal Refactoring Core file discovery logic refactored for maintainability and extensibility. Underlying tools (ls, glob, read-many-files) now support git-aware filtering out of the box. Co-authored-by: N. Taylor Mullen <[email protected]>
2025-06-03Update configuration.md (#722)Cindy Xing
2025-06-03document mcp server trust option (#719)Olcan
2025-06-02allow toolDiscoveryCommand to return function declarations with or without a ↵Olcan
tool wrapper; fully document both toolDiscoveryCommand and toolCallCommand with examples and pointers to API docs (#696)
2025-05-31feat: allow custom filename for context files (#654)Allen Hutchison
Co-authored-by: N. Taylor Mullen <[email protected]>
2025-05-30docs: Update README, CONTRIBUTING, and CLI configuration docs (#591)cperry-goog
cleaning up for now, will take another pass
2025-05-20coreTools doc tweak (#452)Olcan
2025-05-20Docs: Update CLI and Server documentation for recent features (#430)cperry-goog
2025-05-17rename env vars GEMINI_CODE_{MODEL,SANDBOX,SANDBOX_IMAGE} (#411)Olcan
2025-05-16Docs: Update MCP server configuration (#396)N. Taylor Mullen
2025-05-16fixes and tweaks to docs, mostly related to sandboxing (#385)Olcan
2025-05-15Docs: Fix broken links and update documentation (#377)cperry-goog
2025-05-15Docs: Add initial project documentation structure and content (#368)cperry-goog
Co-authored-by: Taylor Mullen <[email protected]>