feat: backward compatible arg order

This commit is contained in:
张泊明518370910136 2024-10-16 23:39:48 -04:00
parent 1a4ffa214d
commit afb5d82421
GPG Key ID: CA088E6D9284F870

View File

@ -366,7 +366,6 @@ def joj3_create_result_issue(
score_file_path: str = Argument(
"", help="path to score json file generated by JOJ3"
),
submitter: str = Argument("", help="submitter ID"),
submitter_repo_name: str = Argument(
"",
help="repository's name of the submitter",
@ -379,6 +378,7 @@ def joj3_create_result_issue(
"unknown",
help="name of the exercise that appears on the issue title",
),
submitter: str = Argument("", help="submitter ID"),
commit_hash: str = Argument(
"",
help="commit hash that triggers gitea actions",