diff --git a/knowledge base/gitlab/README.md b/knowledge base/gitlab/README.md index b548571..7238eb0 100644 --- a/knowledge base/gitlab/README.md +++ b/knowledge base/gitlab/README.md @@ -895,7 +895,17 @@ gitlab_rails['omniauth_providers'] = [{ Refer [Extend with GitLab]. -[Python SDK] +The [Python SDK] also provides a CLI tool to operate with the API. + +
+ +```sh +pipx install 'python-gitlab' +export GITLAB_URL='https://gitlab.example.org' GITLAB_PRIVATE_TOKEN='glpat-…' +gitlab --order-by 'name' user list --get-all --per-page '100' +``` + +
## Troubleshooting