You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pro uses GitHub or GitLab API to find Pull Request related to current branch. Access is granted via personal access tokens.
GitHub
Use auth command to login:
pro auth github
You will be asked to generate personal access token and paste it in the prompt. It's recommended to change "Expiration" to "No expiration" before creating the token. Token will be stored in ~/.config/pro/config.yml.
GitLab
Use auth command to login:
pro auth gitlab
You will be asked to generate personal access token and paste it in the prompt. Token will be stored in ~/.config/pro/config.yml.
Open Pull Request in default browser
To open current Pull Request simply type:
pro
If you're on the main branch (main, master, trunk, etc.) repository homepage will be opened instead. If no PR matching current branch is found but the branch is pushed to remote, "Create Pull Request" page will be opened.
Use -p | --print flag to print the Pull Request URL instead of opening it in default browser:
pro -p
Use -c | --copy flag to copy the Pull Request URL to clipboard instead of opening it in default browser:
pro -c
About
⚡ Open current PR in browser with a single command. Supports GitHub and GitLab.