is_shell_command

Function is_shell_command 

Source
pub fn is_shell_command(line: &str) -> bool
Expand description

Check if the first line of input looks like a shell command.

Used by the REPL to decide whether to wait for a semicolon or dispatch immediately.