CLI: Implement pagination support #442
Labels
difficulty: 2
good first issue
Good for newcomers
priority: medium
released
scope: cli
Everything related to the CLI
type: enhancement
New feature or request
Description
Right now, we can fetch two kinds of entities from the backend using CLI:
The logic is fully implemented. We would like to additionally implement the paginated response support for each of the command's
list
subcommand.Ideally, we want to add the following additional optional parameters to each of the command's
list
sub-command:-p, --page <page>, Index of the page
-l, --limit <items>, Total number of items per page
-o, --order <sort order>, order to sort by - either ascending (ASC) or descending (DESC)
--sort <field name>, Field to sort by
-s, --search <search>, Search term
Solution
You would need to make the changes to these files:
The text was updated successfully, but these errors were encountered: