create

Function create 

Source
pub fn create(title: &str) -> Result<CreatedIssue>
Expand description

Creates a new GitHub issue with the specified title.

This function invokes gh issue create --title <title> --body "" to create the issue.

ยงErrors

  • If title is empty.
  • Spawning or executing the gh issue create command fails.
  • Command exits with non-zero status.
  • Output cannot be parsed as a valid issue URL.