Skip to main content

parse_extended_command

Function parse_extended_command 

Source
pub fn parse_extended_command(
    cmd: &str,
    rest: &str,
) -> Result<Option<ExtendedReplCommand>, String>
Expand description

Parse an extended REPL command from a string slice.

Extended commands include :set, :get, :history, :undo, :reduce, :stats, :search, and :print.