Skip to main content

matrixcode_core/command/
mod.rs

1//! 后端命令系统
2//!
3//! 使用策略模式实现后端命令,命令定义在 core 中供 TUI 和 CLI 共享。
4
5mod command_trait;
6mod backend_context;
7mod registry;
8pub mod handlers;
9
10pub use command_trait::Command;
11pub use backend_context::BackendContext;
12pub use registry::{CommandRegistry, get_registry};