feat: add usage command (#281)

This commit is contained in:
cthomas
2025-12-17 19:48:04 -08:00
committed by GitHub
parent fb6fecddf8
commit b9e52d20e8
5 changed files with 145 additions and 48 deletions

View File

@@ -12,6 +12,7 @@ type CommandLine = {
output: string;
phase?: "running" | "finished";
success?: boolean;
dimOutput?: boolean;
};
/**
@@ -63,7 +64,7 @@ export const CommandMessage = memo(({ line }: { line: CommandLine }) => {
<Text>{" ⎿ "}</Text>
</Box>
<Box flexGrow={1} width={Math.max(0, columns - 5)}>
<MarkdownDisplay text={line.output} />
<MarkdownDisplay text={line.output} dimColor={line.dimOutput} />
</Box>
</Box>
)}