-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get all pages #171
base: master
Are you sure you want to change the base?
Get all pages #171
Conversation
Hi Tom! Good call out - let us take a look |
After thinking about it a bit, let me suggest this instead: The default should be to get all pages. I can't imagine a situation where someone would intentionally want partial information. In that case, my suggestion is to simply have However a case can be made for backwards compatibility. There may be scripts that issue Neither would require any new flags. I'd be glad to implement the first suggestion. I'd need assistance implementing the second. |
Hey! @TomOnTime - Thank you for the PR! Given that we don't want to impact customers who rely on the current logic, I would ideally like to avoid changing the default behaviours. My suggestion is to have a new flag introduced called Example for all packages:
Example for all repos:
|
Sounds good. I made a few attempts at adding a flag with no success. Can you assist? I tried adding the flag to |
No problem, I will unfortunately have to create a branch myself due to limitations for tests running from Fork. Once I have everything ready I will reference and credit the contribution! |
Fixes #170
This is a work in progress.
This codes enables
ls repos
andls pkgs
to get all pages.I wanted to add a flag
--all-pages
but I couldn't figure out how. I made a couple attempts to add the appropriate click statements but I couldn't get the value to propagate to where it was needed. I could use some help!In the meanwhile I added a (brutal but temporarily) way to activate this code. The (undocumented)
--page -1
enables this feature.Could you help me add a proper flag? Ideally this should be the default, with the
--page x
enabling the old behavior for backwards compatibility.