exercism / exercism/cli

Add a means to reset an exercise to the current state (source and tests)

Offen
#927 7 Kommentare 10 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Go
Sterne
1.4k
Forks
363
Ø Merge
6 T. 13 Std.
Gemergte PRs (30 T.)
2

Beschreibung

A had a student recently who asked this question:

> I've been [stuck] on this exercise because I don't know how the original exercise looked like to change the names accordingly.
>
> Please how can I get the original exercise without my modifications? I want to start from scratch but can't get the exercise.

Sometimes the student gets themselves so stuck that they cannot really continue without being able to restart. It would be ideal if I could have them do something like this:

```sh
$ exercism reset --exercise=some-exercise --track=java
```

It can either clear out the existing directories or just copy over the files that are templates / tests. The point is to give the student a fresh start on the exercise!

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.