We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 711c5be commit d254e64Copy full SHA for d254e64
gitlab/cli.py
@@ -277,12 +277,16 @@ def main():
277
sys.exit(1)
278
279
gitlab_id = arg.gitlab
280
- # conflicts with "gitlab" attribute from GitlabObject class
281
- args.pop("gitlab")
282
verbose = arg.verbose
283
action = arg.action
284
what = arg.what
285
+ # Remove CLI behavior-related args
+ args.pop("gitlab")
286
+ args.pop("config_file")
287
+ args.pop("verbose")
288
+ args.pop("what")
289
+
290
if gitlab_id is None:
291
try:
292
gitlab_id = config.get('global', 'default')
0 commit comments