Skip to content

Commit 9b4b0ef

Browse files
JohnVillalovosnejch
authored andcommitted
chore: sort CLI behavior-related args to remove
Sort the list of CLI behavior-related args that are to be removed.
1 parent 9c1c210 commit 9b4b0ef

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

gitlab/cli.py

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -399,25 +399,25 @@ def main() -> None:
399399
args_dict = vars(args)
400400
# Remove CLI behavior-related args
401401
for item in (
402-
"gitlab",
402+
"api_version",
403403
"config_file",
404-
"verbose",
405404
"debug",
405+
"fields",
406+
"gitlab",
406407
"gitlab_resource",
407-
"resource_action",
408-
"version",
408+
"job_token",
409+
"oauth_token",
409410
"output",
410-
"fields",
411+
"pagination",
412+
"private_token",
413+
"resource_action",
411414
"server_url",
415+
"skip_login",
412416
"ssl_verify",
413417
"timeout",
414-
"api_version",
415-
"pagination",
416418
"user_agent",
417-
"private_token",
418-
"oauth_token",
419-
"job_token",
420-
"skip_login",
419+
"verbose",
420+
"version",
421421
):
422422
args_dict.pop(item)
423423
args_dict = {k: _parse_value(v) for k, v in args_dict.items() if v is not None}

0 commit comments

Comments
 (0)