Skip to main content

handle_command

Function handle_command 

Source
pub fn handle_command(
    parts: &[&str],
    conn: &Connection,
    out: &mut CliOutput<'_>,
) -> ShellAction
Expand description

REPL command dispatcher. Splits its input into a command + tail and emits all output through out. Returns Quit on quit/exit/q, Continue otherwise.