From 5f5edb4c9bac24c4875ffc1a5a97ad8cf11f4436 Mon Sep 17 00:00:00 2001 From: Seth Troisi Date: Wed, 30 Apr 2025 00:26:07 +0000 Subject: Added bang(!) commands as a shell passthrough --- packages/cli/src/ui/components/Intro.tsx | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (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 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 = ({ commands }) => ( * Semantically search and explain code * Execute bash commands - + Commands: @@ -37,5 +37,19 @@ export const Intro: React.FC = ({ commands }) => ( {command.description && ' - ' + command.description} ))} + + + {' '} + !{' '} + + shell command + + + + {' '} + ${' '} + + echo hello world + ); -- cgit v1.2.3