Move Intro to Help and only display after help command.

This commit is contained in:
Seth Troisi
2025-05-05 20:48:34 +00:00
parent 415b757d4a
commit bb52149a06
4 changed files with 21 additions and 15 deletions

View File

@@ -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: