CLI 根参数定义 + 分发入口
这里把 Command 和 dispatch 作为子模块复用,既给 main.rs 的主入口用, 也给 REPL(cmd::repl)复用:REPL 把用户输入的一行解析为 Cli, 再调用 dispatch 走同一套 handler。
Command
dispatch
main.rs
cmd::repl
Cli
pub use commands::Command;
pub use dispatch::dispatch;