Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding commands for creating assignments (assigning exercises) and modifying assignments #15

Merged
merged 1 commit into from
Oct 7, 2024

Conversation

kliberf
Copy link
Contributor

@kliberf kliberf commented Oct 7, 2024

I (hopefully) tested the individual options, except --notify, as that seems to be disabled on test instance of MFF ReCodEx.

Let me know if this should be handled differently (i.e. in different commands or named differently, if there's supposed to be more error checking done, ...)

@click.option("--showJudgeStderr/--no-showJudgeStderr", "show_judge_stderr", default=None, help="Whether to show stderr from judge")
@click.option("--notify/--no-notify", "notify", default=None, help="Whether to send email notification once assignment is public")
@click.option("--bonus/--no-bonus", "is_bonus", default=None, help="Whether the assignment is bonus")
@click.option("--exam/--no-exam", "is_exam", default=None, help="Whether the assignment is exam")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, this is not the usual way we handle updates of larger structures, but since this version of CLI will be replaced by an auto-generated version using OpenAPI, I will accept this for the time being.

@krulis-martin krulis-martin merged commit 9f62b26 into ReCodEx:master Oct 7, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants