pub fn parse_issue_arg(
raw: &str,
default_project: Option<&str>,
) -> Result<ItemRef>Expand description
Parses one <ISSUE> CLI argument into an ItemRef.
Accepts, in order:
- a full GitHub issue URL:
https://github.com/OWNER/REPO/issues/N owner/repo#N#Nor bareN, resolved againstdefault_project(the-C/--repocheckout’s ownowner/repo) — an error naming the missing context ifdefault_projectisNone.