refactor(g3-cli): extract commands module and fix test organization

- Extract handle_command() from interactive.rs to new commands.rs module
  (320 lines, 15 match arms for /help, /compact, /thinnify, etc.)
- Fix orphaned tests in completion.rs that were outside mod tests block
- Add #[allow(dead_code)] to with_include_prompt_filename() (used in tests)
- interactive.rs reduced from 595 to 290 lines

Agent: fowler
This commit is contained in:
Dhanji R. Prasanna
2026-01-20 14:30:50 +05:30
parent 710c54105b
commit dec22f5e58
6 changed files with 336 additions and 309 deletions

View File

@@ -12,6 +12,7 @@ mod agent_mode;
mod autonomous;
mod cli_args;
mod coach_feedback;
mod commands;
mod display;
mod interactive;
mod simple_output;