summaryrefslogtreecommitdiff
path: root/packages/cli/src/config/config.ts
diff options
context:
space:
mode:
authorEddie Santos <[email protected]>2025-06-05 10:15:27 -0700
committerGitHub <[email protected]>2025-06-05 10:15:27 -0700
commit422c763a55c28394df359bd9b31388c8d9765fc8 (patch)
treefefda70212927409936ad326de5ec50ad515bfea /packages/cli/src/config/config.ts
parent1d20cedf033f9c9a8f27812020fead584510bf84 (diff)
Add support for `.geminiignore` file (#757)
Diffstat (limited to 'packages/cli/src/config/config.ts')
-rw-r--r--packages/cli/src/config/config.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/cli/src/config/config.ts b/packages/cli/src/config/config.ts
index 952ecbcf..dd55b26d 100644
--- a/packages/cli/src/config/config.ts
+++ b/packages/cli/src/config/config.ts
@@ -123,6 +123,7 @@ export interface LoadCliConfigResult {
export async function loadCliConfig(
settings: Settings,
+ geminiIgnorePatterns: string[],
): Promise<LoadCliConfigResult> {
loadEnvironment();
@@ -211,6 +212,7 @@ export async function loadCliConfig(
vertexai: useVertexAI,
showMemoryUsage:
argv.show_memory_usage || settings.showMemoryUsage || false,
+ geminiIgnorePatterns,
accessibility: settings.accessibility,
// Git-aware file filtering settings
fileFilteringRespectGitIgnore: settings.fileFiltering?.respectGitIgnore,