You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I've given this a go (for personal learning more than anything), I could push a draft if that's ok?
I used cachetools (https://cachetools.readthedocs.io/en/latest/) which is probably not ideal (importing new stuff), dunno if it can be useful nonetheless.
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:See https://github.com/github/hub/blob/d0e9e009ffc537c656a6cb8ec5cc132be5e4b8df/github/http.go#L400 for inspiration (the
--cache
feature on thehub
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
The text was updated successfully, but these errors were encountered: