Skip to content

/groups/:id/members/all for cli does not contain correct parameters #848

Closed
@dgsmith

Description

@dgsmith

Description of the problem, including code/CLI snippet

When using the CLI command: gitlab group-member all [...] the accepted parameters are incorrect. The all "endpoint" should operate just like the list, allowing paging, etc. instead, it seems to have some other specific commands that aren't necessary.

Expected Behavior

Being able to use commands such as,

  • gitlab group-member all --group-id 212 --page 2
  • gitlab group-member all --group-id 212 --per-page 2 --page 10
  • etc.

Actual Behavior

gitlab group-member all only accepts:

 -h, --help           show this help message and exit
  --group-id GROUP_ID
  --sudo SUDO
  --id ID

as specified in the gitlab docs --id is not necessary and you should actually be able to search (probably something to add for the normal list as well.

Specifications

  • python-gitlab version: 1.10.0
  • API version you are using (v3/v4): v4
  • Gitlab server version (or gitlab.com): 12.0.3-ee

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