summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/components
diff options
context:
space:
mode:
authorSeth Troisi <[email protected]>2025-05-05 20:48:34 +0000
committerSeth Troisi <[email protected]>2025-05-05 20:54:12 +0000
commitbb52149a06012ddb5e5535d60decf40aa11ac344 (patch)
tree99be8645e472f8a3fcca6e82f7dce50ac857d0fa /packages/cli/src/ui/components
parent415b757d4a7e654ebf6eae50b67498d0ae49f7f2 (diff)
Move Intro to Help and only display after help command.
Diffstat (limited to 'packages/cli/src/ui/components')
-rw-r--r--packages/cli/src/ui/components/Help.tsx (renamed from packages/cli/src/ui/components/Intro.tsx)4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/cli/src/ui/components/Intro.tsx b/packages/cli/src/ui/components/Help.tsx
index 2e557917..3ca182be 100644
--- a/packages/cli/src/ui/components/Intro.tsx
+++ b/packages/cli/src/ui/components/Help.tsx
@@ -9,11 +9,11 @@ import { Box, Text } from 'ink';
import { Colors } from '../colors.js';
import { SlashCommand } from '../hooks/slashCommandProcessor.js';
-interface Intro {
+interface Help {
commands: SlashCommand[];
}
-export const Intro: React.FC<Intro> = ({ commands }) => (
+export const Help: React.FC<Help> = ({ commands }) => (
<Box flexDirection="column" marginBottom={1}>
<Text bold color={Colors.Foreground}>
Abilities: