-
Notifications
You must be signed in to change notification settings - Fork 8k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the feature or problem you’d like to solve
When running gh pr review <url> and the git folder of the repo is not in context, is necessary to pass the repo with -R, --repo OWNER/REPO
i.e.
gh pr review https://github.com/cli/cli --aprove -R
cli/cli
without -R, --repo, is not able to infer the repository from the url
Proposed solution
Would be nice to add a fallback option before trying to rely on --repo option to check if the command received a repo url as parameter and try to infer the OWNER/REPO from there
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working