wasmerio/wasmer

Edge-CLI: Fix "app list" command pagination

Closed this issue · 1 comments

The app list command currently uses some GraphQL queries without pagination.
The backend only returns 10 apps per query.
We need to alter the code flow to allow for pagination, and add a CLI argument for it.

There also should be a --all flag to get all outputs.

NOTE: this is a bit complicated by the fact that the current --all flag tries to fetch all user-accessible apps. This should be restricted to single namespaces only.