Replies: 1 comment
-
We could probably extract some of the config logic out of the CLI's I'm personally a bit busy at the moment with other things so contributions are welcome! Will be happy to review MRs. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I find myself writing a lot of (reusable) one-of scripts, so it would be really nice to have all the "standard" options from the command line tool. Most of the time I use
Gitlab.from_config()
, but that requires users of my script to create a config file to use them. What I would like is something likeGitLab.from_environment()
or something, which would create a default argument parser so I could use all options of thegitlab
tool for my own tools. Maybe even provide something likewhich would allow to integrate all the "config" options from the command line tool into other tools.
How about it? (I might have some time to contribute the change to facilitate this, probably requires a bit of refactoring...)
(This seems a bit similar to #2830)
Beta Was this translation helpful? Give feedback.
All reactions