exercism / exercism/cli

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

Abierto
#927 7 comentarios 10 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Go
Estrellas
1.4k
Forks
363
Merge medio
6 d 13 h
PR fusionados (30 d)
2

Descripción

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!

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.