summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/components/Footer.tsx
diff options
context:
space:
mode:
authorBrandon Keiji <[email protected]>2025-04-23 22:00:40 +0000
committerGitHub <[email protected]>2025-04-23 15:00:40 -0700
commit7f3798e180db8d56fd45002ca61331e305a36a41 (patch)
treee019beab778f921439f15d93ec11cc0104d18d2b /packages/cli/src/ui/components/Footer.tsx
parent60bee4b13750cc2bd1109612a13bc1a58b98a94d (diff)
feat: add CLI version number to footer (#134)
Diffstat (limited to 'packages/cli/src/ui/components/Footer.tsx')
-rw-r--r--packages/cli/src/ui/components/Footer.tsx3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/cli/src/ui/components/Footer.tsx b/packages/cli/src/ui/components/Footer.tsx
index 6722c0fd..1a61bd2f 100644
--- a/packages/cli/src/ui/components/Footer.tsx
+++ b/packages/cli/src/ui/components/Footer.tsx
@@ -14,6 +14,7 @@ interface FooterProps {
queryLength: number;
debugMode: boolean;
debugMessage: string;
+ cliVersion: string;
}
export const Footer: React.FC<FooterProps> = ({
@@ -21,6 +22,7 @@ export const Footer: React.FC<FooterProps> = ({
queryLength,
debugMode,
debugMessage,
+ cliVersion,
}) => (
<Box marginTop={1} display="flex" justifyContent="space-between" width="100%">
{/* Left Section: Help/DebugMode */}
@@ -50,6 +52,7 @@ export const Footer: React.FC<FooterProps> = ({
{/* Right Section: Gemini Label */}
<Box>
<Text color={Colors.AccentBlue}> {config.getModel()} </Text>
+ <Text color={Colors.SubtleComment}> | CLI Version: {cliVersion} </Text>
</Box>
</Box>
);