feature request: add a `exercism restart` command
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 28/100
Research direction
No files or tests are named. Start by locating the CLI command entry points and the existing exercise download flow, then determine how restarting should restore the exercise's current boilerplate while handling confirmation and --force. Done means the example command works for the selected exercise and track without deleting files unexpectedly.
Written by the indexing model from the issue text.
Description
description
Add a command to "revert to exercise start".
Just like in the Web UI:

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 ❤️)
- Dominant language
- Go
- Stars
- 1.4k
- Forks
- 363
- Avg merge
- 6d 13h
- Merged PRs (30d)
- 2
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from exercism/cli
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 38/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
Fetch next exercise Open
Difficulty 4/5 3-5 days Newbie friendliness 25/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 1/5 Under an hour Newbie friendliness 84/100
-
enhancement needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
kind/cleanup
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
kubernetes-sigs/kueue#15947 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
sympozium-ai/sympozium#627 ·