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
Please add a CLI option to auto-detect GITLAB (for -g argument) and project ID from the current git repo the gitlab command is run from. I implemented a shell wrapper around gitlab that basically would do the following:
git remote get-url $(git remote)
match the host of the above URL with entries in ~/.python-gitlab.cfg to get the GITLAB name
Use the last part of the remote URL as project ID
There might be a case of multiple remotes on the git repo., I would suggest adding --git-remote REMOTE argument for such case