summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/components/AuthDialog.tsx
diff options
context:
space:
mode:
authoranj-s <[email protected]>2025-06-25 12:32:25 -0700
committerGitHub <[email protected]>2025-06-25 19:32:25 +0000
commit4b5ca6bc777180b2ea11f391e6f612da5072cc3e (patch)
treeda296a0030744f5898b8efbe11ed3cfd832ab1db /packages/cli/src/ui/components/AuthDialog.tsx
parent452b82162b7b81c6c1d9ba6c6c4fe4d4431c626b (diff)
Add tos and privacy links docs for clarity (#1571)
Diffstat (limited to 'packages/cli/src/ui/components/AuthDialog.tsx')
-rw-r--r--packages/cli/src/ui/components/AuthDialog.tsx6
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/cli/src/ui/components/AuthDialog.tsx b/packages/cli/src/ui/components/AuthDialog.tsx
index 6ff9268e..747a83bd 100644
--- a/packages/cli/src/ui/components/AuthDialog.tsx
+++ b/packages/cli/src/ui/components/AuthDialog.tsx
@@ -6,6 +6,7 @@
import React, { useState } from 'react';
import { Box, Text, useInput } from 'ink';
+import Link from 'ink-link';
import { Colors } from '../colors.js';
import { RadioButtonSelect } from './shared/RadioButtonSelect.js';
import { LoadedSettings, SettingScope } from '../../config/settings.js';
@@ -113,6 +114,11 @@ export function AuthDialog({
<Box marginTop={1}>
<Text color={Colors.Gray}>(Use Enter to select)</Text>
</Box>
+ <Box marginTop={1}>
+ <Link url="https://github.com/google/gemini-cli/blob/main/docs/tos-privacy.md">
+ <Text>Terms of Services and Privacy Notice for Gemini CLI</Text>
+ </Link>
+ </Box>
</Box>
);
}