pub fn get(
repo: &str,
search: Option<&str>,
retain_fn: &dyn Fn(&PullRequest) -> bool,
) -> Result<Vec<PullRequest>>Expand description
Fetch pull requests for a repository using gh pr list.
§Errors
- Spawning or executing
gh pr listfails. - Command exits non‑zero (handled inside
ytil_cmd::CmdExt). - Output JSON cannot be deserialized.