feat: Enhance simple chat command to support multiple input modes including batch files and single messages

This commit is contained in:
scawful
2025-10-04 02:29:15 -04:00
parent 2fb96cbbfd
commit f39ce79048
3 changed files with 40 additions and 5 deletions

View File

@@ -74,10 +74,18 @@ void ModernCLI::SetupCommands() {
" → Ask about rooms, sprites, entrances, items naturally\n"
" → Example: 'What sprites are in room 5?' or 'List all dungeons'\n"
"\n"
"💡 SIMPLE CHAT MODE:\n"
" z3ed agent simple-chat \"<your question>\" [--rom=<path>]\n"
" → Quick AI queries with automatic ROM loading\n"
" → Example: z3ed agent simple-chat \"describe entrance 0\"\n"
"💡 SIMPLE CHAT MODE (Multiple input methods):\n"
" # Single message\n"
" z3ed agent simple-chat \"<your question>\" --rom=<path>\n"
" \n"
" # Interactive session\n"
" z3ed agent simple-chat --rom=<path>\n"
" \n"
" # Piped input\n"
" echo \"What is room 5?\" | z3ed agent simple-chat --rom=<path>\n"
" \n"
" # Batch file (one question per line)\n"
" z3ed agent simple-chat --file=questions.txt --rom=<path>\n"
"\n"
"🎯 ADVANCED CHAT MODE:\n"
" z3ed agent chat \"<prompt>\" [--host=<host>] [--port=<port>]\n"