Skip to main content

parse

Function parse 

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

Parse one : line. An empty line or a comment yields nothing; an unknown or malformed command is an error string ready for the status line.