Describe the feature or problem you’d like to solve
Before gh pr checkout had the interactive mode support added, I had a DIY version of it:
gh pr list | fzf | awk '{print $1}' | xargs gh pr checkout
That worked quite well, but I have started using gh pr checkout interactive mode instead.
However, I noticed that the number of PRs listed with the new interactive mode is limited to 10, and that value is hardcoded. In contrast, the old version's default seems to be 30 and can even be overridden with the --limit flag.
Proposed solution
Either change the default limit to match gh pr list, add --limit support to gh pr checkout interactive mode, or both.
How will it benefit CLI and its users?
Users can have a more flexible way of using the gh pr checkout interactive mode.
Additional Context
I have already a local checkout with these changes, but noticed the CONTRIBUTING.md after implementing this.
Describe the feature or problem you’d like to solve
Before
gh pr checkouthad the interactive mode support added, I had a DIY version of it:That worked quite well, but I have started using
gh pr checkoutinteractive mode instead.However, I noticed that the number of PRs listed with the new interactive mode is limited to 10, and that value is hardcoded. In contrast, the old version's default seems to be 30 and can even be overridden with the
--limitflag.Proposed solution
Either change the default limit to match
gh pr list, add--limitsupport togh pr checkoutinteractive mode, or both.How will it benefit CLI and its users?
Users can have a more flexible way of using the
gh pr checkoutinteractive mode.Additional Context
I have already a local checkout with these changes, but noticed the
CONTRIBUTING.mdafter implementing this.