Skip to main content

pr_view_command

Function pr_view_command 

Source
pub fn pr_view_command(remote_url: &str) -> Vec<String>
Expand description

The PR-opening invocation for a checkout, derived from its remote URL.

The forge is per repo, not per installation, so it is read off the remote’s host: GitLab hosts get glab, anything else defaults to gh.