Skip to main content

parse_command

Function parse_command 

Source
pub fn parse_command(line: &str) -> Result<Command, String>
Expand description

Parse an incoming command line into Command. Errors are returned as server-style strings like ERROR missing_argument.