Skip to main content

parse

Function parse 

Source
pub fn parse(commands: &[&str], input: &str) -> Option<ParsedCommand>
Expand description

Attempt to parse a command

§Arguments

  • commands:
  • input:

§Returns

  • Some(ParsedCommand) if parsing is successful, otherwise None