Show the bridge prompt as a standalone thing

This commit is contained in:
Armin Ronacher 2026-01-06 22:35:02 +01:00
parent 6a5f04ce1f
commit 17d863c082
4 changed files with 69 additions and 59 deletions

View file

@ -345,7 +345,7 @@ export async function main(args: string[]) {
if (parsed.export) {
try {
const outputPath = parsed.messages.length > 0 ? parsed.messages[0] : undefined;
const result = exportFromFile(parsed.export, outputPath);
const result = await exportFromFile(parsed.export, outputPath);
console.log(`Exported to: ${result}`);
return;
} catch (error: unknown) {