Skip to main content

matrixcode_core/command/
mod.rs

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