exercism / exercism/cli

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

Aperta
#927 7 commenti 10 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Go
Stelle
1.4k
Fork
363
Merge medio
6g 13h
PR unite (30g)
2

Descrizione

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!

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.