Skip to main content

handle_line

Function handle_line 

Source
async fn handle_line(
    line: &str,
    state: &Arc<ReplState>,
    printer: &Arc<Mutex<PushPrinter>>,
) -> Result<ShouldContinue>
Expand description

路由一行输入。REPL 专属命令优先;否则走 clap 解析再转 cli::dispatch