Closed jpribyl closed 3 years ago
Problem: In a production environment, it's common to have 1000s of PRs and unless I use a browser, I'm not going to know what is currently open and what is not. It's tedious to always type Octo pr list states=OPEN
Octo pr list states=OPEN
Solution: default the state argument to "OPEN" - this matches the behavior of the gh-cli's gh pr list https://cli.github.com/manual/gh_pr_list
gh pr list
NONE
Added a default for opts.states in menu.pull_requests
opts.states
menu.pull_requests
Octo pr list
Octo pr list states=CLOSED
Octo pr list states=MERGED
Thanks!
@pwntester oops, I didn't quite get around to adding a similar default for issues! I will open another PR
nvm, looks like you did it :+1: thanks for taking care of that!
No problem, thanks for the PR!
Describe what this PR does / why we need it
Problem: In a production environment, it's common to have 1000s of PRs and unless I use a browser, I'm not going to know what is currently open and what is not. It's tedious to always type
Octo pr list states=OPEN
Solution: default the state argument to "OPEN" - this matches the behavior of the gh-cli's
gh pr list
https://cli.github.com/manual/gh_pr_listDoes this pull request fix one issue?
NONE
Describe how you did it
Added a default for
opts.states
inmenu.pull_requests
Describe how to verify it
Octo pr list
to verify that open worksOcto pr list states=CLOSED
to verify that closed worksOcto pr list states=MERGED
to verify that merged worksSpecial notes for reviews