This commit add the "list-groups" function to pagure-admin cli tool.
Actually pagure-admin has "new-group" function but nothing to list existing groups.
Instead of abusing the API (through /api/0/groups) calls, a pagure admin scripting something with pagure-admin can retrieve groups and eventually take other actions (like adding missing group, etc)
This commit add the "list-groups" function to pagure-admin cli tool.
Actually pagure-admin has "new-group" function but nothing to list existing groups.
Instead of abusing the API (through /api/0/groups) calls, a pagure admin scripting something with pagure-admin can retrieve groups and eventually take other actions (like adding missing group, etc)