diff options
| author | Seth Troisi <[email protected]> | 2025-04-30 00:26:07 +0000 |
|---|---|---|
| committer | Seth Troisi <[email protected]> | 2025-04-30 22:17:08 +0000 |
| commit | 5f5edb4c9bac24c4875ffc1a5a97ad8cf11f4436 (patch) | |
| tree | 376f7f0863d0db0c354ec6f2212d16f9c20cd995 /packages/cli/src/ui/components/Intro.tsx | |
| parent | 68a3020044b3c8567641c8fdcd5a369366dab981 (diff) | |
Added bang(!) commands as a shell passthrough
Diffstat (limited to 'packages/cli/src/ui/components/Intro.tsx')
| -rw-r--r-- | packages/cli/src/ui/components/Intro.tsx | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/packages/cli/src/ui/components/Intro.tsx b/packages/cli/src/ui/components/Intro.tsx index d99e5993..2e557917 100644 --- a/packages/cli/src/ui/components/Intro.tsx +++ b/packages/cli/src/ui/components/Intro.tsx @@ -5,7 +5,7 @@ */ import React from 'react'; -import { Box, Newline, Text } from 'ink'; +import { Box, Text } from 'ink'; import { Colors } from '../colors.js'; import { SlashCommand } from '../hooks/slashCommandProcessor.js'; @@ -24,7 +24,7 @@ export const Intro: React.FC<Intro> = ({ commands }) => ( * Semantically search and explain code </Text> <Text color={Colors.Foreground}> * Execute bash commands</Text> - <Newline /> + <Box height={1} /> <Text bold color={Colors.Foreground}> Commands: </Text> @@ -37,5 +37,19 @@ export const Intro: React.FC<Intro> = ({ commands }) => ( {command.description && ' - ' + command.description} </Text> ))} + <Text color={Colors.SubtleComment}> + <Text bold color={Colors.AccentPurple}> + {' '} + !{' '} + </Text> + shell command + </Text> + <Text color={Colors.SubtleComment}> + <Text bold color={Colors.AccentPurple}> + {' '} + ${' '} + </Text> + echo hello world + </Text> </Box> ); |
