Skip to main content

parse_api_response

Function parse_api_response 

Source
pub fn parse_api_response(stdout: &str) -> Option<ApiResponse>
Expand description

Split gh api -i output into the status, the headers, and the body. None when it does not start with a status line, which is what a spawn that printed an error looks like.