Skip to main content

create_pr

Function create_pr 

Source
pub fn create_pr(req: &PrCreateRequest<'_>) -> Result<CreatedPr>
Expand description

Shell out to gh pr create with a body file already rendered by crate::pr_templates::render_pr_body. Parses the URL printed by gh on success to extract the PR number.