From bf659f19776ddc4eb9825bd5376c66288aed06c8 Mon Sep 17 00:00:00 2001 From: Seth Troisi Date: Tue, 29 Apr 2025 23:17:36 +0000 Subject: Add intro with some abilities and commands --- packages/cli/src/ui/components/Intro.tsx | 34 ++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 packages/cli/src/ui/components/Intro.tsx (limited to 'packages/cli/src/ui/components/Intro.tsx') diff --git a/packages/cli/src/ui/components/Intro.tsx b/packages/cli/src/ui/components/Intro.tsx new file mode 100644 index 00000000..04dac134 --- /dev/null +++ b/packages/cli/src/ui/components/Intro.tsx @@ -0,0 +1,34 @@ +/** + * @license + * Copyright 2025 Google LLC + * SPDX-License-Identifier: Apache-2.0 + */ + +import React from 'react'; +import { Box, Newline, Text } from 'ink'; +import { Colors } from '../colors.js'; + +export const Intro: React.FC = () => ( + + Abilities: + * Use tools to read and write files + * Semantically search and understand code + * Execute bash commands + + Commands: + + /help + {' '}- prints this help + + + /clear + {' '}- clear the screen + + + /exit + + + /quit + + +); -- cgit v1.2.3