Skip to content
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

tilesets list only shows the last 100 tilesets #135

Open
e-n-f opened this issue May 6, 2021 · 1 comment
Open

tilesets list only shows the last 100 tilesets #135

e-n-f opened this issue May 6, 2021 · 1 comment

Comments

@e-n-f
Copy link
Contributor

e-n-f commented May 6, 2021

➤ tilesets list enf | wc -l
     100

The number should be much larger.

@mapsam
Copy link
Contributor

mapsam commented May 6, 2021

@ericfischer for paginated endpoints, such as the tileset list endpoint, we should add a new CLI option like --pages that can auto-paginate for us.

--pages=1 (one page, default, 100 tilesets)
--pages=2 (two pages)
--pages=Infinity (all pages)

Before doing this I'd like to find some other CLI tools that do something similar (perhaps AWS CLI?) to follow some common patterns.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants