Skip to main content

intent_engine/cli_handlers/
mod.rs

1// CLI command handlers module
2//
3// This module contains CLI command handling logic:
4// Core: plan, log, search, status, task
5// System: init, dashboard, doctor
6
7pub mod config_commands;
8pub mod dashboard;
9pub mod log_command;
10pub mod other;
11pub mod plan_command;
12pub mod status_command;
13pub mod suggestions_commands;
14pub mod task_commands;
15pub mod utils;
16
17// Re-export commonly used functions
18pub use config_commands::handle_config_command;
19pub use dashboard::{check_dashboard_status, check_mcp_connections, handle_dashboard_command};
20pub use log_command::handle_log;
21pub use other::{
22    handle_doctor_command,
23    handle_init_command,
24    handle_search_command,
25    // Deprecated handlers (kept for potential MCP or Dashboard use):
26    // handle_current_command, handle_event_command, handle_report_command,
27    // handle_session_restore, handle_setup, handle_logs_command, check_session_start_hook
28};
29pub use plan_command::{execute_and_print as execute_plan_and_print, print_plan_result};
30pub use status_command::handle_status;
31pub use task_commands::handle_task_command;
32pub use utils::{
33    get_status_badge, merge_metadata, parse_metadata, print_events_summary, print_task_context,
34    print_task_summary, print_task_tree, read_stdin, status_icon,
35};