Skip to content

Add support for filter, max_page_size, skip (AEP-158 and AEP-160) #12

@toumorokoshi

Description

@toumorokoshi

As of 0.1 of aepcli, the command line tool does not support the following fields:

  • skip (aep.dev/158)
  • filter (aep.dev/160)
  • page_token (aep.dev/158)
  • max_page_size (aep.dev/158)

Having these in aepcli would be very useful for more complex list queries.

The work to support this would be:

  1. update the aep-lib-go dependency to a version that documentations the support of these fields (aep-dev/aep-lib-go@6d2a394 supports skip and filter, although page_token / max_page_size might need to be added as well).
  2. modify the list method generation in cobra to include these fields, if they are supported: https://github.com/aep-dev/aepcli/blob/main/internal/service/resource_definition.go#L134

This can be tested against aepc once aep-dev/aepc#59 is complete.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions