pub fn parse_if_maybe_hash( input: &str, syntax: &str, ) -> (String, Option<String>)
Parses user inputs of the form <head><syntax><commit-hash>
<head><syntax><commit-hash>
Returns the user’s input but also the commit hash if it exists