From 2ab7e3da710fabe3d5d64081ea7ed51137513085 Mon Sep 17 00:00:00 2001
From: Scott Densmore <scottdensmore@github.com>
Date: Mon, 2 Jun 2025 17:09:55 -0700
Subject: feat(cli): Allow custom title in CLI header (#706)

---
 packages/cli/src/ui/components/Header.tsx | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

(limited to 'packages/cli/src/ui/components/Header.tsx')

diff --git a/packages/cli/src/ui/components/Header.tsx b/packages/cli/src/ui/components/Header.tsx
index e95efc59..2b971395 100644
--- a/packages/cli/src/ui/components/Header.tsx
+++ b/packages/cli/src/ui/components/Header.tsx
@@ -10,15 +10,19 @@ import Gradient from 'ink-gradient';
 import BigText from 'ink-big-text';
 import { Colors } from '../colors.js';
 
-export const Header: React.FC = () => (
+interface HeaderProps {
+  title?: string;
+}
+
+export const Header: React.FC<HeaderProps> = ({ title = 'GEMINI' }) => (
   <>
     <Box alignItems="flex-start">
       {Colors.GradientColors ? (
         <Gradient colors={Colors.GradientColors}>
-          <BigText text="GEMINI" letterSpacing={0} space={false} />
+          <BigText text={title} letterSpacing={0} space={false} />
         </Gradient>
       ) : (
-        <BigText text="GEMINI" letterSpacing={0} space={false} />
+        <BigText text={title} letterSpacing={0} space={false} />
       )}
     </Box>
   </>
-- 
cgit v1.2.3

