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

feature request: add a exercism restart command #1018

Open
meleu opened this issue Dec 24, 2021 · 3 comments
Open

feature request: add a exercism restart command #1018

meleu opened this issue Dec 24, 2021 · 3 comments

Comments

@meleu
Copy link

meleu commented Dec 24, 2021

description

Add a command to "revert to exercise start".

Just like in the Web UI:
image

My first thought is an use like this:

exercism restart --exercise=freelancer-rates --track=javascript

Maybe ask for a confirmation before getting rid of user's files (and --force option to not ask for confirmation).

use case

I downloaded an exercise a few days ago but only worked on it today and submitted my solution.

After that I went to the Web UI and noticed the exercise was updated (the requirements/functions to be implemented were changed).

I wanted to get the default boilerplate to restart the exercise from scratch and wasn't able to get it via CLI.

(fortunately @SleeplessByte showed to me how to do it via web UI ❤️)

@meleu
Copy link
Author

meleu commented Dec 24, 2021

I've just noticed that the kind of issue I'm trying to solve in this request is related to these ones:

@pedreviljoen
Copy link

@meleu
added support in this PR:
#1032

@asarkar
Copy link

asarkar commented Dec 24, 2022

+1 for an option to update the exercise without overwriting student solution. @pedreviljoen Is there a way to have your PR looked at? Have you tried tagging any of the maintainers in your PR?

I'm using a shell script to do this, see #1007 (comment)

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

No branches or pull requests

3 participants