fn parse_cmd(msg: &str) -> Result<(String, Vec<String>), String>