Open
Description
Description of the problem, including code/CLI snippet
Feature/Improve suggestion: I use the gitlab
cli extensively in my flow and would strongly benefit a cache feature. It would work like this:
gitlab --cache 600 project-member list --project-id 12345
See https://github.com/github/hub/blob/d0e9e009ffc537c656a6cb8ec5cc132be5e4b8df/github/http.go#L400 for inspiration (the --cache
feature on the hub
tool, equivalent for GitHub).
Expected Behavior
Running this command twice in less than 10 minutes (600 seconds) would only query GitLab API the first time and return the same result.
Actual Behavior
The second command is as long as the first one.
Specifications
- python-gitlab version: 1.8.0
- API version you are using (v3/v4): v4
- Gitlab server version (or gitlab.com): gitlab.com