Function parse_input

pub async fn parse_input(input: &str) -> Result<InputType, ParseError>