From fc0d6a89194cff8e49107e6be8b3e2620169e153 Mon Sep 17 00:00:00 2001 From: itz-PrathamMittal Date: Wed, 10 Dec 2025 13:42:47 +0530 Subject: [PATCH] feat(cli): add multimodal flags clarification to loop set help (CLI-012) Add clarification to loop mode's 'set help' command explaining that multimodal flags (--image, --pdf, --csv, --file) are per-command flags, not session variables. Changes: - Add note section after session variables list - Include two examples of correct usage in loop mode - Use consistent indentation (2 spaces for text, 4 for examples) - Match existing chalk color scheme (cyan, gray, dim) Fixes #350 --- src/cli/loop/session.ts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/src/cli/loop/session.ts b/src/cli/loop/session.ts index 15ee2917e..023ccf58c 100644 --- a/src/cli/loop/session.ts +++ b/src/cli/loop/session.ts @@ -483,6 +483,25 @@ export class LoopSession { logger.always(chalk.gray(` Type: ${schema.type}`)); } } + + // Clarify multimodal flags usage + logger.always( + chalk.cyan("\nNote: Multimodal Flags (--image, --pdf, --csv, --file)"), + ); + logger.always( + chalk.gray( + ` These are per-command flags, not session variables.`, + ), + ); + logger.always( + chalk.gray(` Use them directly with your commands in loop mode:`), + ); + logger.always( + chalk.dim(` Example: analyze this chart --image chart.png`), + ); + logger.always( + chalk.dim(` Example: summarize this document --pdf report.pdf`), + ); } /**